{smcl}
{txt}{sf}{ul off}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}/Users/alejandro/Dropbox/Papers Essex/Selectorate/Protecting_People_DataAnalysis_Log_PSRM.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}21 Oct 2015, 18:36:25
{txt}
{com}. #delimit;
{txt}delimiter now ;
{com}. set seed 7777777;
{txt}
{com}. #delimit;
{txt}delimiter now ;
{com}. use "Protecting People from Natural Disasters Replication Data.dta",clear;
{txt}
{com}. /********************************************************************/
> /************************* Stations ************************************/
> /********************************************************************/
> 
> /*p. 14--Mean*/
> #delimit;
{txt}delimiter now ;
{com}. sum stations, detail;

                     {txt}Number of stations
{hline 61}
      Percentiles      Smallest
 1%    {res}        0              0
{txt} 5%    {res}        0              0
{txt}10%    {res}        0              0       {txt}Obs         {res}        143
{txt}25%    {res}        0              0       {txt}Sum of Wgt. {res}        143

{txt}50%    {res}        1                      {txt}Mean          {res} 6.195804
                        {txt}Largest       Std. Dev.     {res} 22.28062
{txt}75%    {res}        3             68
{txt}90%    {res}        9             76       {txt}Variance      {res} 496.4262
{txt}95%    {res}       27             83       {txt}Skewness      {res} 7.587142
{txt}99%    {res}       83            227       {txt}Kurtosis      {res} 70.59156
{txt}
{com}. /*p. 14--Proportion*/
> #delimit;
{txt}delimiter now ;
{com}. tab stations;

  {txt}Number of {c |}
   stations {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         55       38.46       38.46
{txt}          1 {c |}{res}         28       19.58       58.04
{txt}          2 {c |}{res}         15       10.49       68.53
{txt}          3 {c |}{res}         12        8.39       76.92
{txt}          4 {c |}{res}          9        6.29       83.22
{txt}          5 {c |}{res}          1        0.70       83.92
{txt}          6 {c |}{res}          4        2.80       86.71
{txt}          7 {c |}{res}          3        2.10       88.81
{txt}          8 {c |}{res}          1        0.70       89.51
{txt}          9 {c |}{res}          1        0.70       90.21
{txt}         11 {c |}{res}          1        0.70       90.91
{txt}         13 {c |}{res}          1        0.70       91.61
{txt}         17 {c |}{res}          2        1.40       93.01
{txt}         22 {c |}{res}          1        0.70       93.71
{txt}         23 {c |}{res}          1        0.70       94.41
{txt}         27 {c |}{res}          1        0.70       95.10
{txt}         28 {c |}{res}          1        0.70       95.80
{txt}         37 {c |}{res}          1        0.70       96.50
{txt}         40 {c |}{res}          1        0.70       97.20
{txt}         68 {c |}{res}          1        0.70       97.90
{txt}         76 {c |}{res}          1        0.70       98.60
{txt}         83 {c |}{res}          1        0.70       99.30
{txt}        227 {c |}{res}          1        0.70      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        143      100.00
{txt}
{com}. /*p.14--Top number of stations*/
> #delimit;
{txt}delimiter now ;
{com}. gsort -stations;
{txt}
{com}. list ccode statenme stations in 1/4;
{txt}
     {c TLC}{hline 7}{c -}{hline 26}{c -}{hline 10}{c TRC}
     {c |} {res}ccode                   statenme   stations {txt}{c |}
     {c LT}{hline 7}{c -}{hline 26}{c -}{hline 10}{c RT}
  1. {c |} {res}    2   United States of America        227 {txt}{c |}
  2. {c |} {res}  220                     France         83 {txt}{c |}
  3. {c |} {res}  155                      Chile         76 {txt}{c |}
  4. {c |} {res}  200             United Kingdom         68 {txt}{c |}
     {c BLC}{hline 7}{c -}{hline 26}{c -}{hline 10}{c BRC}

{com}. /*p.14--Total number of stations in the analysis*/
> #delimit;
{txt}delimiter now ;
{com}. sort ccode;
{txt}
{com}. egen tot_station=total(stations);
{txt}
{com}. sum tot_station;

{txt}    Variable {c |}       Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 56}
{space 1}tot_station {c |}{res}       143         886           0        886        886
{txt}
{com}. drop tot_station;
{txt}
{com}. /*p. 15--Fig 1*/
> #delimit;
{txt}delimiter now ;
{com}. histogram stations, fcolor(lavender) lcolor(black) normal 
> normopts(lcolor(pink) lwidth(medthick) lpattern(solid))
> title(Number of Sea-Level Stations by Country (02/14)) ytitle(Percent)
> xtitle(Stations) percent xlabel(0(25)250);
{txt}(bin={res}11{txt}, start={res}0{txt}, width={res}20.636364{txt})
{res}{txt}
{com}. /*graph save Graph "Fig2_rev.gph",replace;*/
> 
> 
> /********************************************************************/
> /************************* Capital Distance ************************************/
> /********************************************************************/
> 
> /*p.16--Median distance in kilometers from the capital to nearest shore*/
> #delimit;
{txt}delimiter now ;
{com}. sum distance_km, detail;

           {txt}Distance in km from CIA-defined capital
                coordinates to nearest shore
{hline 61}
      Percentiles      Smallest
 1%    {res}   .02653         .01862
{txt} 5%    {res}   .11407         .02653
{txt}10%    {res}   .34893           .043       {txt}Obs         {res}        142
{txt}25%    {res}   .79753           .057       {txt}Sum of Wgt. {res}        142

{txt}50%    {res}    8.095                      {txt}Mean          {res}  99.8865
                        {txt}Largest       Std. Dev.     {res} 189.5234
{txt}75%    {res}   126.07         618.45
{txt}90%    {res}   322.78         872.88       {txt}Variance      {res} 35919.13
{txt}95%    {res}   457.74         960.35       {txt}Skewness      {res} 2.978083
{txt}99%    {res}   960.35        1146.76       {txt}Kurtosis      {res} 13.26928
{txt}
{com}. /*p.17--Fig 3*/
> #delimit;
{txt}delimiter now ;
{com}. histogram distance_km , fcolor(lavender) lcolor(black) normal 
> normopts(lcolor(pink) lwidth(medthick) lpattern(solid))
> title(Distance from National Capitals to the Nearest Shore) ytitle(Percent)
> xtitle(Kilometers) percent xlabel(0(200)1200);
{txt}(bin={res}11{txt}, start={res}.01862{txt}, width={res}104.24922{txt})
{res}{txt}
{com}. /*graph save Graph "Fig3_rev.gph",replace;*/
> 
> /*p.18--Sea Capital*/
> #delimit;
{txt}delimiter now ;
{com}. tab capital_sea_50p;

{txt}Sea Capital {c |}
      (0/1) {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         72       50.35       50.35
{txt}          1 {c |}{res}         71       49.65      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        143      100.00
{txt}
{com}. /********************************************************************/
> /***************** Summary Statistics Appendix 3 ********************/
> /********************************************************************/
> 
> #delimit;
{txt}delimiter now ;
{com}. sutex stations W distance_km pop2000_lecz_pc
> stm_dis coastline pacific ioc_mship dipl_rep_num 
> ship_cntc ln_gdppc ln_pop fdi_pcgdp stm_dead, digits(3) nobs;
%------- Begin LaTeX code -------%

\begin{table}[htbp]\centering \caption{Summary statistics \label{sumstat}}
\begin{tabular}{l c c  c}\hline\hline
\multicolumn{1}{c}{\textbf{Variable}} & \textbf{Mean}
 & \textbf{Std. Dev.} & \textbf{N}\\ \hline
stations & 6.196 & 22.281  & 143\\
W & 0.684 & 0.27  & 122\\
distance\_km & 99.886 & 189.523  & 142\\
pop2000\_lecz\_pc & 0.166 & 0.203  & 142\\
stm\_dis & 19.543 & 53.828  & 140\\
coastline & 4996.082 & 18352.691  & 141\\
pacific & 0.273 & 0.447  & 143\\
ioc\_mship & 0.909 & 0.288  & 143\\
dipl\_rep\_num & 47.42 & 39.508  & 143\\
ship\_cntc & 21.113 & 23.021  & 133\\
ln\_gdppc & 8.02 & 1.416  & 115\\
ln\_pop & 15.751 & 2.099  & 135\\
fdi\_pcgdp & 4.81 & 6.285  & 113\\
stm\_dead & 9555.5 & 58257.851  & 140\\
\hline
\end{tabular}
\end{table}
%------- End LaTeX code -------%
{txt}
{com}. /********************************************************************/
> /***************** Table 1 ********************/
> /********************************************************************/
> 
> #delimit;
{txt}delimiter now ;
{com}. nbreg stations ln_distance_km lnstm_dis 
> lncoast pop2000_lecz_pc  pacific ioc_mship dipl_rep_num;

{txt}Fitting Poisson model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-1187.9897}  
Iteration 1:{space 3}log likelihood = {res:-909.80394}  
Iteration 2:{space 3}log likelihood = {res:-618.46989}  
Iteration 3:{space 3}log likelihood = {res:-608.48319}  
Iteration 4:{space 3}log likelihood = {res:-608.35987}  
Iteration 5:{space 3}log likelihood = {res:-608.35985}  
{res}
{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-402.25122}  
Iteration 1:{space 3}log likelihood = {res: -338.7551}  
Iteration 2:{space 3}log likelihood = {res:-338.32832}  
Iteration 3:{space 3}log likelihood = {res:-338.32781}  
Iteration 4:{space 3}log likelihood = {res:-338.32781}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-321.34582}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-299.43761}  
Iteration 2:{space 3}log likelihood = {res:-281.63076}  
Iteration 3:{space 3}log likelihood = {res:-279.52287}  
Iteration 4:{space 3}log likelihood = {res:-279.48717}  
Iteration 5:{space 3}log likelihood = {res:-279.48716}  
{res}
{txt}Negative binomial regression                      Number of obs   =  {res}      137
                                                  {txt}LR chi2({res}7{txt})      =  {res}   117.68
{txt}Dispersion     = {res}mean                             {txt}Prob > chi2     =  {res}   0.0000
{txt}Log likelihood = {res}-279.48716                       {txt}Pseudo R2       =  {res}   0.1739

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       stations{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 1}ln_distance_km {c |}{col 17}{res}{space 2}-.1086806{col 29}{space 2} .0734972{col 40}{space 1}   -1.48{col 49}{space 3}0.139{col 57}{space 4}-.2527325{col 70}{space 3} .0353713
{txt}{space 6}lnstm_dis {c |}{col 17}{res}{space 2} .3644636{col 29}{space 2} .1206154{col 40}{space 1}    3.02{col 49}{space 3}0.003{col 57}{space 4} .1280617{col 70}{space 3} .6008655
{txt}{space 8}lncoast {c |}{col 17}{res}{space 2} .3791183{col 29}{space 2} .1069236{col 40}{space 1}    3.55{col 49}{space 3}0.000{col 57}{space 4} .1695519{col 70}{space 3} .5886846
{txt}pop2000_lecz_pc {c |}{col 17}{res}{space 2}-.4323093{col 29}{space 2} .6862428{col 40}{space 1}   -0.63{col 49}{space 3}0.529{col 57}{space 4}-1.777321{col 70}{space 3} .9127019
{txt}{space 8}pacific {c |}{col 17}{res}{space 2} .5463589{col 29}{space 2} .2912793{col 40}{space 1}    1.88{col 49}{space 3}0.061{col 57}{space 4}-.0245381{col 70}{space 3} 1.117256
{txt}{space 6}ioc_mship {c |}{col 17}{res}{space 2}  .720199{col 29}{space 2}  .617052{col 40}{space 1}    1.17{col 49}{space 3}0.243{col 57}{space 4}-.4892006{col 70}{space 3} 1.929599
{txt}{space 3}dipl_rep_num {c |}{col 17}{res}{space 2} .0123838{col 29}{space 2} .0042884{col 40}{space 1}    2.89{col 49}{space 3}0.004{col 57}{space 4} .0039786{col 70}{space 3}  .020789
{txt}{space 10}_cons {c |}{col 17}{res}{space 2}-3.668609{col 29}{space 2} .8351883{col 40}{space 1}   -4.39{col 49}{space 3}0.000{col 57}{space 4}-5.305548{col 70}{space 3}-2.031669
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
       /lnalpha {c |}{col 17}{res}{space 2} .1583957{col 29}{space 2} .1802396{col 57}{space 4}-.1948675{col 70}{space 3} .5116589
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}          alpha{col 17}{c |}{res}{space 2}  1.17163{col 29}{space 2} .2111741{col 57}{space 4} .8229437{col 70}{space 3} 1.668056
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Likelihood-ratio test of alpha=0:  {help j_chibar##|_new:chibar2(01) =}{res}  657.75{txt} Prob>=chibar2 = {res}0.000
{txt}
{com}. estimates store m1, title(Model 1);
{txt}
{com}. #delimit;
{txt}delimiter now ;
{com}. nbreg stations W ln_distance_km lnstm_dis lncoast 
> pop2000_lecz_pc pacific ioc_mship dipl_rep_num ship_cntc;

{txt}Fitting Poisson model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-975.02026}  
Iteration 1:{space 3}log likelihood = {res:-573.18396}  
Iteration 2:{space 3}log likelihood = {res:-442.88253}  
Iteration 3:{space 3}log likelihood = {res:-432.11524}  
Iteration 4:{space 3}log likelihood = {res:-432.10033}  
Iteration 5:{space 3}log likelihood = {res:-432.10033}  
{res}
{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: -354.6089}  
Iteration 1:{space 3}log likelihood = {res:-291.95929}  
Iteration 2:{space 3}log likelihood = {res:-291.82723}  
Iteration 3:{space 3}log likelihood = {res:-291.82717}  
Iteration 4:{space 3}log likelihood = {res:-291.82717}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-277.29723}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-256.29492}  
Iteration 2:{space 3}log likelihood = {res:-233.17474}  
Iteration 3:{space 3}log likelihood = {res:-228.83276}  
Iteration 4:{space 3}log likelihood = {res:-228.60343}  
Iteration 5:{space 3}log likelihood = {res:-228.60296}  
Iteration 6:{space 3}log likelihood = {res:-228.60296}  
{res}
{txt}Negative binomial regression                      Number of obs   =  {res}      116
                                                  {txt}LR chi2({res}9{txt})      =  {res}   126.45
{txt}Dispersion     = {res}mean                             {txt}Prob > chi2     =  {res}   0.0000
{txt}Log likelihood = {res}-228.60296                       {txt}Pseudo R2       =  {res}   0.2166

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       stations{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 14}W {c |}{col 17}{res}{space 2} 1.662708{col 29}{space 2} .5293882{col 40}{space 1}    3.14{col 49}{space 3}0.002{col 57}{space 4} .6251258{col 70}{space 3} 2.700289
{txt}{space 1}ln_distance_km {c |}{col 17}{res}{space 2}-.0616504{col 29}{space 2} .0757222{col 40}{space 1}   -0.81{col 49}{space 3}0.416{col 57}{space 4}-.2100631{col 70}{space 3} .0867623
{txt}{space 6}lnstm_dis {c |}{col 17}{res}{space 2} .3761558{col 29}{space 2} .1200511{col 40}{space 1}    3.13{col 49}{space 3}0.002{col 57}{space 4}   .14086{col 70}{space 3} .6114516
{txt}{space 8}lncoast {c |}{col 17}{res}{space 2} .4549297{col 29}{space 2} .1092924{col 40}{space 1}    4.16{col 49}{space 3}0.000{col 57}{space 4} .2407205{col 70}{space 3} .6691389
{txt}pop2000_lecz_pc {c |}{col 17}{res}{space 2}-3.222239{col 29}{space 2} 1.319674{col 40}{space 1}   -2.44{col 49}{space 3}0.015{col 57}{space 4}-5.808752{col 70}{space 3}-.6357258
{txt}{space 8}pacific {c |}{col 17}{res}{space 2} .4434547{col 29}{space 2}  .301787{col 40}{space 1}    1.47{col 49}{space 3}0.142{col 57}{space 4}-.1480369{col 70}{space 3} 1.034946
{txt}{space 6}ioc_mship {c |}{col 17}{res}{space 2} .6856021{col 29}{space 2} .8758724{col 40}{space 1}    0.78{col 49}{space 3}0.434{col 57}{space 4}-1.031076{col 70}{space 3} 2.402281
{txt}{space 3}dipl_rep_num {c |}{col 17}{res}{space 2}-.0025918{col 29}{space 2} .0061607{col 40}{space 1}   -0.42{col 49}{space 3}0.674{col 57}{space 4}-.0146664{col 70}{space 3} .0094829
{txt}{space 6}ship_cntc {c |}{col 17}{res}{space 2}  .024246{col 29}{space 2} .0086606{col 40}{space 1}    2.80{col 49}{space 3}0.005{col 57}{space 4} .0072715{col 70}{space 3} .0412204
{txt}{space 10}_cons {c |}{col 17}{res}{space 2}-5.192214{col 29}{space 2} 1.137435{col 40}{space 1}   -4.56{col 49}{space 3}0.000{col 57}{space 4}-7.421546{col 70}{space 3}-2.962882
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
       /lnalpha {c |}{col 17}{res}{space 2}-.1229944{col 29}{space 2} .2083728{col 57}{space 4}-.5313976{col 70}{space 3} .2854088
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}          alpha{col 17}{c |}{res}{space 2} .8842687{col 29}{space 2} .1842575{col 57}{space 4} .5877829{col 70}{space 3} 1.330306
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Likelihood-ratio test of alpha=0:  {help j_chibar##|_new:chibar2(01) =}{res}  406.99{txt} Prob>=chibar2 = {res}0.000
{txt}
{com}. estimates store m2, title(Model 2);
{txt}
{com}. #delimit;
{txt}delimiter now ;
{com}. nbreg stations W capital_sea_50p Wcapital_sea_50p 
> lnstm_dis lncoast pop2000_lecz_pc pacific ioc_mship 
> dipl_rep_num ship_cntc;

{txt}Fitting Poisson model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-959.73204}  
Iteration 1:{space 3}log likelihood = {res:-545.19337}  
Iteration 2:{space 3}log likelihood = {res:-414.94029}  
Iteration 3:{space 3}log likelihood = {res:-404.35332}  
Iteration 4:{space 3}log likelihood = {res:-404.34094}  
Iteration 5:{space 3}log likelihood = {res:-404.34094}  
{res}
{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: -354.6089}  
Iteration 1:{space 3}log likelihood = {res:-291.95929}  
Iteration 2:{space 3}log likelihood = {res:-291.82723}  
Iteration 3:{space 3}log likelihood = {res:-291.82717}  
Iteration 4:{space 3}log likelihood = {res:-291.82717}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: -275.3958}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-252.92212}  
Iteration 2:{space 3}log likelihood = {res:-225.44923}  
Iteration 3:{space 3}log likelihood = {res:-225.11182}  
Iteration 4:{space 3}log likelihood = {res:-225.11065}  
Iteration 5:{space 3}log likelihood = {res:-225.11065}  
{res}
{txt}Negative binomial regression                      Number of obs   =  {res}      116
                                                  {txt}LR chi2({res}10{txt})     =  {res}   133.43
{txt}Dispersion     = {res}mean                             {txt}Prob > chi2     =  {res}   0.0000
{txt}Log likelihood = {res}-225.11065                       {txt}Pseudo R2       =  {res}   0.2286

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        stations{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 15}W {c |}{col 18}{res}{space 2} 3.626739{col 30}{space 2} .8715435{col 41}{space 1}    4.16{col 50}{space 3}0.000{col 58}{space 4} 1.918545{col 71}{space 3} 5.334932
{txt}{space 1}capital_sea_50p {c |}{col 18}{res}{space 2}  2.25597{col 30}{space 2} .8235712{col 41}{space 1}    2.74{col 50}{space 3}0.006{col 58}{space 4} .6418001{col 71}{space 3}  3.87014
{txt}Wcapital_sea_50p {c |}{col 18}{res}{space 2} -2.89691{col 30}{space 2} 1.043988{col 41}{space 1}   -2.77{col 50}{space 3}0.006{col 58}{space 4}-4.943089{col 71}{space 3}-.8507309
{txt}{space 7}lnstm_dis {c |}{col 18}{res}{space 2} .3709206{col 30}{space 2} .1130546{col 41}{space 1}    3.28{col 50}{space 3}0.001{col 58}{space 4} .1493377{col 71}{space 3} .5925035
{txt}{space 9}lncoast {c |}{col 18}{res}{space 2} .4477917{col 30}{space 2} .1073384{col 41}{space 1}    4.17{col 50}{space 3}0.000{col 58}{space 4} .2374124{col 71}{space 3}  .658171
{txt}{space 1}pop2000_lecz_pc {c |}{col 18}{res}{space 2}-2.379517{col 30}{space 2} 1.249091{col 41}{space 1}   -1.90{col 50}{space 3}0.057{col 58}{space 4}-4.827692{col 71}{space 3}  .068657
{txt}{space 9}pacific {c |}{col 18}{res}{space 2} .4093276{col 30}{space 2} .2871352{col 41}{space 1}    1.43{col 50}{space 3}0.154{col 58}{space 4}-.1534469{col 71}{space 3} .9721022
{txt}{space 7}ioc_mship {c |}{col 18}{res}{space 2} .6953392{col 30}{space 2} .8442372{col 41}{space 1}    0.82{col 50}{space 3}0.410{col 58}{space 4}-.9593353{col 71}{space 3} 2.350014
{txt}{space 4}dipl_rep_num {c |}{col 18}{res}{space 2}-.0044894{col 30}{space 2}  .005682{col 41}{space 1}   -0.79{col 50}{space 3}0.429{col 58}{space 4} -.015626{col 71}{space 3} .0066472
{txt}{space 7}ship_cntc {c |}{col 18}{res}{space 2} .0206176{col 30}{space 2}  .008036{col 41}{space 1}    2.57{col 50}{space 3}0.010{col 58}{space 4} .0048674{col 71}{space 3} .0363678
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-6.796482{col 30}{space 2} 1.215476{col 41}{space 1}   -5.59{col 50}{space 3}0.000{col 58}{space 4}-9.178771{col 71}{space 3}-4.414193
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        /lnalpha {c |}{col 18}{res}{space 2}-.2642494{col 30}{space 2} .2192078{col 58}{space 4}-.6938889{col 71}{space 3}   .16539
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           alpha{col 18}{c |}{res}{space 2}  .767782{col 30}{space 2} .1683038{col 58}{space 4} .4996293{col 71}{space 3} 1.179853
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Likelihood-ratio test of alpha=0:  {help j_chibar##|_new:chibar2(01) =}{res}  358.46{txt} Prob>=chibar2 = {res}0.000
{txt}
{com}. estimates store m3, title(Model 3);
{txt}
{com}. #delimit;
{txt}delimiter now ;
{com}. zinb stations W capital_sea_50p Wcapital_sea_50p 
> lnstm_dis lncoast pop2000_lecz_pc pacific ioc_mship dipl_rep_num
> ship_cntc, inflate(W lnstm_dead Wlnstm_dead);

{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-332.29707}  
Iteration 1:{space 3}log likelihood = {res:-285.23716}  
Iteration 2:{space 3}log likelihood = {res:-281.95103}  
Iteration 3:{space 3}log likelihood = {res: -281.6072}  
Iteration 4:{space 3}log likelihood = {res:-281.59811}  
Iteration 5:{space 3}log likelihood = {res:-281.59811}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-281.59811}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-267.22855}  (not concave)
Iteration 2:{space 3}log likelihood = {res:-259.20784}  (not concave)
Iteration 3:{space 3}log likelihood = {res:-251.85046}  (not concave)
Iteration 4:{space 3}log likelihood = {res:-247.31798}  (not concave)
Iteration 5:{space 3}log likelihood = {res:-244.80806}  (not concave)
Iteration 6:{space 3}log likelihood = {res:-244.12143}  
Iteration 7:{space 3}log likelihood = {res:-235.93046}  
Iteration 8:{space 3}log likelihood = {res:-232.20821}  (not concave)
Iteration 9:{space 3}log likelihood = {res: -231.5395}  (not concave)
Iteration 10:{space 2}log likelihood = {res:-228.54484}  
Iteration 11:{space 2}log likelihood = {res:-225.42126}  
Iteration 12:{space 2}log likelihood = {res:-224.59132}  
Iteration 13:{space 2}log likelihood = {res:-224.54654}  
Iteration 14:{space 2}log likelihood = {res:-224.54519}  
Iteration 15:{space 2}log likelihood = {res:-224.54518}  
{res}
{txt}Zero-inflated negative binomial regression        Number of obs   =  {res}      116
                                                  {txt}Nonzero obs     =  {res}       70
                                                  {txt}Zero obs        =  {res}       46

{txt}Inflation model = {res}logit                           {txt}LR chi2({res}10{txt})     =  {res}   114.11
{txt}Log likelihood  = {res}-224.5452                       {txt}Prob > chi2     =  {res}   0.0000

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        stations{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}stations         {txt}{c |}
{space 15}W {c |}{col 18}{res}{space 2} 3.574855{col 30}{space 2} .8825863{col 41}{space 1}    4.05{col 50}{space 3}0.000{col 58}{space 4} 1.845018{col 71}{space 3} 5.304692
{txt}{space 1}capital_sea_50p {c |}{col 18}{res}{space 2} 2.396414{col 30}{space 2} .8527328{col 41}{space 1}    2.81{col 50}{space 3}0.005{col 58}{space 4} .7250883{col 71}{space 3} 4.067739
{txt}Wcapital_sea_50p {c |}{col 18}{res}{space 2}-3.022908{col 30}{space 2} 1.060734{col 41}{space 1}   -2.85{col 50}{space 3}0.004{col 58}{space 4}-5.101908{col 71}{space 3}-.9439075
{txt}{space 7}lnstm_dis {c |}{col 18}{res}{space 2} .3021843{col 30}{space 2} .1291185{col 41}{space 1}    2.34{col 50}{space 3}0.019{col 58}{space 4} .0491167{col 71}{space 3} .5552519
{txt}{space 9}lncoast {c |}{col 18}{res}{space 2} .4484153{col 30}{space 2} .1080456{col 41}{space 1}    4.15{col 50}{space 3}0.000{col 58}{space 4} .2366498{col 71}{space 3} .6601808
{txt}{space 1}pop2000_lecz_pc {c |}{col 18}{res}{space 2}-2.323258{col 30}{space 2} 1.274987{col 41}{space 1}   -1.82{col 50}{space 3}0.068{col 58}{space 4}-4.822186{col 71}{space 3} .1756696
{txt}{space 9}pacific {c |}{col 18}{res}{space 2} .3745271{col 30}{space 2} .2866387{col 41}{space 1}    1.31{col 50}{space 3}0.191{col 58}{space 4}-.1872745{col 71}{space 3} .9363288
{txt}{space 7}ioc_mship {c |}{col 18}{res}{space 2} .7189619{col 30}{space 2} .8707539{col 41}{space 1}    0.83{col 50}{space 3}0.409{col 58}{space 4}-.9876843{col 71}{space 3} 2.425608
{txt}{space 4}dipl_rep_num {c |}{col 18}{res}{space 2}-.0030871{col 30}{space 2} .0059583{col 41}{space 1}   -0.52{col 50}{space 3}0.604{col 58}{space 4}-.0147651{col 71}{space 3} .0085909
{txt}{space 7}ship_cntc {c |}{col 18}{res}{space 2} .0193455{col 30}{space 2} .0082871{col 41}{space 1}    2.33{col 50}{space 3}0.020{col 58}{space 4} .0031031{col 71}{space 3} .0355878
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-6.635323{col 30}{space 2} 1.238835{col 41}{space 1}   -5.36{col 50}{space 3}0.000{col 58}{space 4}-9.063395{col 71}{space 3}-4.207251
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}inflate          {txt}{c |}
{space 15}W {c |}{col 18}{res}{space 2}-2.133115{col 30}{space 2} 4.049854{col 41}{space 1}   -0.53{col 50}{space 3}0.598{col 58}{space 4}-10.07068{col 71}{space 3} 5.804453
{txt}{space 6}lnstm_dead {c |}{col 18}{res}{space 2}-.7698981{col 30}{space 2} 1.548856{col 41}{space 1}   -0.50{col 50}{space 3}0.619{col 58}{space 4}  -3.8056{col 71}{space 3} 2.265804
{txt}{space 5}Wlnstm_dead {c |}{col 18}{res}{space 2} .0455472{col 30}{space 2} 1.965145{col 41}{space 1}    0.02{col 50}{space 3}0.982{col 58}{space 4}-3.806066{col 71}{space 3}  3.89716
{txt}{space 11}_cons {c |}{col 18}{res}{space 2} .4068154{col 30}{space 2} 2.403726{col 41}{space 1}    0.17{col 50}{space 3}0.866{col 58}{space 4}  -4.3044{col 71}{space 3} 5.118031
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        /lnalpha {c |}{col 18}{res}{space 2}-.3355564{col 30}{space 2} .2348745{col 41}{space 1}   -1.43{col 50}{space 3}0.153{col 58}{space 4} -.795902{col 71}{space 3} .1247892
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           alpha{col 18}{c |}{res}{space 2} .7149402{col 30}{space 2} .1679212{col 58}{space 4} .4511741{col 71}{space 3}  1.13291
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimates store m4, title(Model 4);
{txt}
{com}. #delimit;
{txt}delimiter now ;
{com}. estout m1 m2 m3 m4, cells(b(star fmt(%9.3f)) se(par fmt(%9.2f))) ///
>         starlevels(* 0.10 ** 0.05 *** 0.01)  ///
>         legend  ///
>         varlabels(W W ln_distance_km ln(Capital Distance) capital_sea_50p 
>         CapitalSea CapitalDistance pop2000_lecz_pc LECZPopulationPc
>         lnstm_dis NumberStorms lncoast LengthCoast 
>         pacific Pacific ioc_mship IOCMembership
>         dipl_rep_num DiplomaticRepresentation
>     ln_gdppc ln(GDPpc) ln_pop ln(Population) fdi_pcgdp FDI
>         ship_cntc Shipping lnstm_dead ln(Deaths) Wlnstm_dead (W)ln(Deaths)
>         _cons Intercept)        ///
>         stats(N ll , fmt(%9.4f) label(N LogLikelihood )) ///
>         style(tex) ;

{res}            &          m1   &          m2   &          m3   &          m4   \\
            &        b/se   &        b/se   &        b/se   &        b/se   \\
stations    &               &               &               &               \\
ln(Capital  &      -0.109   &      -0.062   &               &               \\
            &      (0.07)   &      (0.08)   &               &               \\
NumberStorms&       0.364***&       0.376***&       0.371***&       0.302** \\
            &      (0.12)   &      (0.12)   &      (0.11)   &      (0.13)   \\
LengthCoast &       0.379***&       0.455***&       0.448***&       0.448***\\
            &      (0.11)   &      (0.11)   &      (0.11)   &      (0.11)   \\
LECZPopulationPc&      -0.432   &      -3.222** &      -2.380*  &      -2.323*  \\
            &      (0.69)   &      (1.32)   &      (1.25)   &      (1.27)   \\
Pacific     &       0.546*  &       0.443   &       0.409   &       0.375   \\
            &      (0.29)   &      (0.30)   &      (0.29)   &      (0.29)   \\
IOCMembership&       0.720   &       0.686   &       0.695   &       0.719   \\
            &      (0.62)   &      (0.88)   &      (0.84)   &      (0.87)   \\
DiplomaticRepresentation&       0.012***&      -0.003   &      -0.004   &      -0.003   \\
            &      (0.00)   &      (0.01)   &      (0.01)   &      (0.01)   \\
W           &               &       1.663***&       3.627***&       3.575***\\
            &               &      (0.53)   &      (0.87)   &      (0.88)   \\
Shipping    &               &       0.024***&       0.021** &       0.019** \\
            &               &      (0.01)   &      (0.01)   &      (0.01)   \\
capital_sea_50p&               &               &       2.256***&       2.396***\\
            &               &               &      (0.82)   &      (0.85)   \\
Wcapital_sea_50p&               &               &      -2.897***&      -3.023***\\
            &               &               &      (1.04)   &      (1.06)   \\
Intercept   &      -3.669***&      -5.192***&      -6.796***&      -6.635***\\
            &      (0.84)   &      (1.14)   &      (1.22)   &      (1.24)   \\
lnalpha     &               &               &               &               \\
Intercept   &       0.158   &      -0.123   &      -0.264   &      -0.336   \\
            &      (0.18)   &      (0.21)   &      (0.22)   &      (0.23)   \\
inflate     &               &               &               &               \\
W           &               &               &               &      -2.133   \\
            &               &               &               &      (4.05)   \\
ln(Deaths)  &               &               &               &      -0.770   \\
            &               &               &               &      (1.55)   \\
(W)ln(Deaths)&               &               &               &       0.046   \\
            &               &               &               &      (1.97)   \\
Intercept   &               &               &               &       0.407   \\
            &               &               &               &      (2.40)   \\
N           &    137.0000   &    116.0000   &    116.0000   &    116.0000   \\
LogLikelihood&   -279.4872   &   -228.6030   &   -225.1106   &   -224.5452   \\
* p<0.10, ** p<0.05, *** p<0.01
{txt}
{com}. /********************************************************************/
> /******************* Substantive Interpretations *********************/
> /********************************************************************/
> 
> /************************** Model 2 *********************************/
> 
> #delimit;
{txt}delimiter now ;
{com}. nbreg stations W ln_distance_km lnstm_dis lncoast 
> pop2000_lecz_pc pacific ioc_mship dipl_rep_num ship_cntc;

{txt}Fitting Poisson model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-975.02026}  
Iteration 1:{space 3}log likelihood = {res:-573.18396}  
Iteration 2:{space 3}log likelihood = {res:-442.88253}  
Iteration 3:{space 3}log likelihood = {res:-432.11524}  
Iteration 4:{space 3}log likelihood = {res:-432.10033}  
Iteration 5:{space 3}log likelihood = {res:-432.10033}  
{res}
{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: -354.6089}  
Iteration 1:{space 3}log likelihood = {res:-291.95929}  
Iteration 2:{space 3}log likelihood = {res:-291.82723}  
Iteration 3:{space 3}log likelihood = {res:-291.82717}  
Iteration 4:{space 3}log likelihood = {res:-291.82717}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-277.29723}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-256.29492}  
Iteration 2:{space 3}log likelihood = {res:-233.17474}  
Iteration 3:{space 3}log likelihood = {res:-228.83276}  
Iteration 4:{space 3}log likelihood = {res:-228.60343}  
Iteration 5:{space 3}log likelihood = {res:-228.60296}  
Iteration 6:{space 3}log likelihood = {res:-228.60296}  
{res}
{txt}Negative binomial regression                      Number of obs   =  {res}      116
                                                  {txt}LR chi2({res}9{txt})      =  {res}   126.45
{txt}Dispersion     = {res}mean                             {txt}Prob > chi2     =  {res}   0.0000
{txt}Log likelihood = {res}-228.60296                       {txt}Pseudo R2       =  {res}   0.2166

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       stations{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 14}W {c |}{col 17}{res}{space 2} 1.662708{col 29}{space 2} .5293882{col 40}{space 1}    3.14{col 49}{space 3}0.002{col 57}{space 4} .6251258{col 70}{space 3} 2.700289
{txt}{space 1}ln_distance_km {c |}{col 17}{res}{space 2}-.0616504{col 29}{space 2} .0757222{col 40}{space 1}   -0.81{col 49}{space 3}0.416{col 57}{space 4}-.2100631{col 70}{space 3} .0867623
{txt}{space 6}lnstm_dis {c |}{col 17}{res}{space 2} .3761558{col 29}{space 2} .1200511{col 40}{space 1}    3.13{col 49}{space 3}0.002{col 57}{space 4}   .14086{col 70}{space 3} .6114516
{txt}{space 8}lncoast {c |}{col 17}{res}{space 2} .4549297{col 29}{space 2} .1092924{col 40}{space 1}    4.16{col 49}{space 3}0.000{col 57}{space 4} .2407205{col 70}{space 3} .6691389
{txt}pop2000_lecz_pc {c |}{col 17}{res}{space 2}-3.222239{col 29}{space 2} 1.319674{col 40}{space 1}   -2.44{col 49}{space 3}0.015{col 57}{space 4}-5.808752{col 70}{space 3}-.6357258
{txt}{space 8}pacific {c |}{col 17}{res}{space 2} .4434547{col 29}{space 2}  .301787{col 40}{space 1}    1.47{col 49}{space 3}0.142{col 57}{space 4}-.1480369{col 70}{space 3} 1.034946
{txt}{space 6}ioc_mship {c |}{col 17}{res}{space 2} .6856021{col 29}{space 2} .8758724{col 40}{space 1}    0.78{col 49}{space 3}0.434{col 57}{space 4}-1.031076{col 70}{space 3} 2.402281
{txt}{space 3}dipl_rep_num {c |}{col 17}{res}{space 2}-.0025918{col 29}{space 2} .0061607{col 40}{space 1}   -0.42{col 49}{space 3}0.674{col 57}{space 4}-.0146664{col 70}{space 3} .0094829
{txt}{space 6}ship_cntc {c |}{col 17}{res}{space 2}  .024246{col 29}{space 2} .0086606{col 40}{space 1}    2.80{col 49}{space 3}0.005{col 57}{space 4} .0072715{col 70}{space 3} .0412204
{txt}{space 10}_cons {c |}{col 17}{res}{space 2}-5.192214{col 29}{space 2} 1.137435{col 40}{space 1}   -4.56{col 49}{space 3}0.000{col 57}{space 4}-7.421546{col 70}{space 3}-2.962882
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
       /lnalpha {c |}{col 17}{res}{space 2}-.1229944{col 29}{space 2} .2083728{col 57}{space 4}-.5313976{col 70}{space 3} .2854088
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}          alpha{col 17}{c |}{res}{space 2} .8842687{col 29}{space 2} .1842575{col 57}{space 4} .5877829{col 70}{space 3} 1.330306
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Likelihood-ratio test of alpha=0:  {help j_chibar##|_new:chibar2(01) =}{res}  406.99{txt} Prob>=chibar2 = {res}0.000
{txt}
{com}. /*estimates store m2, title(Model 2);*/
> 
> /*p 24--Predicted number of stations when W=0 moves to W=1*/
> #delimit;
{txt}delimiter now ;
{com}. margins, at((mean) _all W=(0 1)) ;
{res}
{txt}Adjusted predictions{col 51}Number of obs{col 67}= {res}       116
{txt}Model VCE{col 14}: {res}OIM

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Predicted number of events, predict()}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:W}{space 15}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ln_distanc~m}{space 4}{txt:=} {space 3}3.012532 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lnstm_dis}{space 7}{txt:=} {space 4}1.90452 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lncoast}{space 9}{txt:=} {space 3}7.191965 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pop2000_le~c}{space 4}{txt:=} {space 3}.1344542 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pacific}{space 9}{txt:=} {space 3}.2413793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ioc_mship}{space 7}{txt:=} {space 3}.9396552 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:dipl_rep_num}{space 4}{txt:=} {space 3}54.49138 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ship_cntc}{space 7}{txt:=} {space 3}23.24414 {txt:(mean)}}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:W}{space 15}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ln_distanc~m}{space 4}{txt:=} {space 3}3.012532 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lnstm_dis}{space 7}{txt:=} {space 4}1.90452 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lncoast}{space 9}{txt:=} {space 3}7.191965 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pop2000_le~c}{space 4}{txt:=} {space 3}.1344542 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pacific}{space 9}{txt:=} {space 3}.2413793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ioc_mship}{space 7}{txt:=} {space 3}.9396552 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:dipl_rep_num}{space 4}{txt:=} {space 3}54.49138 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ship_cntc}{space 7}{txt:=} {space 3}23.24414 {txt:(mean)}}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2} .5223969{col 26}{space 2}  .213718{col 37}{space 1}    2.44{col 46}{space 3}0.015{col 54}{space 4} .1035173{col 67}{space 3} .9412764
{txt}{space 10}2  {c |}{col 14}{res}{space 2} 2.754897{col 26}{space 2} .5518301{col 37}{space 1}    4.99{col 46}{space 3}0.000{col 54}{space 4}  1.67333{col 67}{space 3} 3.836464
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. /************************** Model 3 *********************************/
> 
> #delimit;
{txt}delimiter now ;
{com}. nbreg stations W capital_sea_50p Wcapital_sea_50p 
> lnstm_dis lncoast pop2000_lecz_pc pacific ioc_mship 
> dipl_rep_num ship_cntc;

{txt}Fitting Poisson model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-959.73204}  
Iteration 1:{space 3}log likelihood = {res:-545.19337}  
Iteration 2:{space 3}log likelihood = {res:-414.94029}  
Iteration 3:{space 3}log likelihood = {res:-404.35332}  
Iteration 4:{space 3}log likelihood = {res:-404.34094}  
Iteration 5:{space 3}log likelihood = {res:-404.34094}  
{res}
{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: -354.6089}  
Iteration 1:{space 3}log likelihood = {res:-291.95929}  
Iteration 2:{space 3}log likelihood = {res:-291.82723}  
Iteration 3:{space 3}log likelihood = {res:-291.82717}  
Iteration 4:{space 3}log likelihood = {res:-291.82717}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: -275.3958}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-252.92212}  
Iteration 2:{space 3}log likelihood = {res:-225.44923}  
Iteration 3:{space 3}log likelihood = {res:-225.11182}  
Iteration 4:{space 3}log likelihood = {res:-225.11065}  
Iteration 5:{space 3}log likelihood = {res:-225.11065}  
{res}
{txt}Negative binomial regression                      Number of obs   =  {res}      116
                                                  {txt}LR chi2({res}10{txt})     =  {res}   133.43
{txt}Dispersion     = {res}mean                             {txt}Prob > chi2     =  {res}   0.0000
{txt}Log likelihood = {res}-225.11065                       {txt}Pseudo R2       =  {res}   0.2286

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        stations{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 15}W {c |}{col 18}{res}{space 2} 3.626739{col 30}{space 2} .8715435{col 41}{space 1}    4.16{col 50}{space 3}0.000{col 58}{space 4} 1.918545{col 71}{space 3} 5.334932
{txt}{space 1}capital_sea_50p {c |}{col 18}{res}{space 2}  2.25597{col 30}{space 2} .8235712{col 41}{space 1}    2.74{col 50}{space 3}0.006{col 58}{space 4} .6418001{col 71}{space 3}  3.87014
{txt}Wcapital_sea_50p {c |}{col 18}{res}{space 2} -2.89691{col 30}{space 2} 1.043988{col 41}{space 1}   -2.77{col 50}{space 3}0.006{col 58}{space 4}-4.943089{col 71}{space 3}-.8507309
{txt}{space 7}lnstm_dis {c |}{col 18}{res}{space 2} .3709206{col 30}{space 2} .1130546{col 41}{space 1}    3.28{col 50}{space 3}0.001{col 58}{space 4} .1493377{col 71}{space 3} .5925035
{txt}{space 9}lncoast {c |}{col 18}{res}{space 2} .4477917{col 30}{space 2} .1073384{col 41}{space 1}    4.17{col 50}{space 3}0.000{col 58}{space 4} .2374124{col 71}{space 3}  .658171
{txt}{space 1}pop2000_lecz_pc {c |}{col 18}{res}{space 2}-2.379517{col 30}{space 2} 1.249091{col 41}{space 1}   -1.90{col 50}{space 3}0.057{col 58}{space 4}-4.827692{col 71}{space 3}  .068657
{txt}{space 9}pacific {c |}{col 18}{res}{space 2} .4093276{col 30}{space 2} .2871352{col 41}{space 1}    1.43{col 50}{space 3}0.154{col 58}{space 4}-.1534469{col 71}{space 3} .9721022
{txt}{space 7}ioc_mship {c |}{col 18}{res}{space 2} .6953392{col 30}{space 2} .8442372{col 41}{space 1}    0.82{col 50}{space 3}0.410{col 58}{space 4}-.9593353{col 71}{space 3} 2.350014
{txt}{space 4}dipl_rep_num {c |}{col 18}{res}{space 2}-.0044894{col 30}{space 2}  .005682{col 41}{space 1}   -0.79{col 50}{space 3}0.429{col 58}{space 4} -.015626{col 71}{space 3} .0066472
{txt}{space 7}ship_cntc {c |}{col 18}{res}{space 2} .0206176{col 30}{space 2}  .008036{col 41}{space 1}    2.57{col 50}{space 3}0.010{col 58}{space 4} .0048674{col 71}{space 3} .0363678
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-6.796482{col 30}{space 2} 1.215476{col 41}{space 1}   -5.59{col 50}{space 3}0.000{col 58}{space 4}-9.178771{col 71}{space 3}-4.414193
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        /lnalpha {c |}{col 18}{res}{space 2}-.2642494{col 30}{space 2} .2192078{col 58}{space 4}-.6938889{col 71}{space 3}   .16539
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           alpha{col 18}{c |}{res}{space 2}  .767782{col 30}{space 2} .1683038{col 58}{space 4} .4996293{col 71}{space 3} 1.179853
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Likelihood-ratio test of alpha=0:  {help j_chibar##|_new:chibar2(01) =}{res}  358.46{txt} Prob>=chibar2 = {res}0.000
{txt}
{com}. /*estimates store m3, title(Model 3);*/
> 
> /*p. 24--Predicted number of stations when W=0 moves to W=1*/
> #delimit;
{txt}delimiter now ;
{com}. margins, at((mean) _all W=(0 1)) ;
{res}
{txt}Adjusted predictions{col 51}Number of obs{col 67}= {res}       116
{txt}Model VCE{col 14}: {res}OIM

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Predicted number of events, predict()}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:W}{space 15}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:capital_~50p}{space 4}{txt:=} {space 3}.4482759 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:Wcapital~50p}{space 4}{txt:=} {space 3}.2887931 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lnstm_dis}{space 7}{txt:=} {space 4}1.90452 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lncoast}{space 9}{txt:=} {space 3}7.191965 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pop2000_le~c}{space 4}{txt:=} {space 3}.1344542 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pacific}{space 9}{txt:=} {space 3}.2413793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ioc_mship}{space 7}{txt:=} {space 3}.9396552 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:dipl_rep_num}{space 4}{txt:=} {space 3}54.49138 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ship_cntc}{space 7}{txt:=} {space 3}23.24414 {txt:(mean)}}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:W}{space 15}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:capital_~50p}{space 4}{txt:=} {space 3}.4482759 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:Wcapital~50p}{space 4}{txt:=} {space 3}.2887931 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lnstm_dis}{space 7}{txt:=} {space 4}1.90452 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lncoast}{space 9}{txt:=} {space 3}7.191965 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pop2000_le~c}{space 4}{txt:=} {space 3}.1344542 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pacific}{space 9}{txt:=} {space 3}.2413793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ioc_mship}{space 7}{txt:=} {space 3}.9396552 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:dipl_rep_num}{space 4}{txt:=} {space 3}54.49138 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ship_cntc}{space 7}{txt:=} {space 3}23.24414 {txt:(mean)}}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2} .1315967{col 26}{space 2} .0842086{col 37}{space 1}    1.56{col 46}{space 3}0.118{col 54}{space 4}-.0334491{col 67}{space 3} .2966425
{txt}{space 10}2  {c |}{col 14}{res}{space 2} 4.946721{col 26}{space 2} 1.380495{col 37}{space 1}    3.58{col 46}{space 3}0.000{col 54}{space 4} 2.241001{col 67}{space 3} 7.652442
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. /*Footnote 18--LR test for interaction (W)(Sea Capital)*/
> #delimit;
{txt}delimiter now ;
{com}. nbreg stations W capital_sea_50p Wcapital_sea_50p 
> lnstm_dis lncoast pop2000_lecz_pc pacific ioc_mship 
> dipl_rep_num ship_cntc;

{txt}Fitting Poisson model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-959.73204}  
Iteration 1:{space 3}log likelihood = {res:-545.19337}  
Iteration 2:{space 3}log likelihood = {res:-414.94029}  
Iteration 3:{space 3}log likelihood = {res:-404.35332}  
Iteration 4:{space 3}log likelihood = {res:-404.34094}  
Iteration 5:{space 3}log likelihood = {res:-404.34094}  
{res}
{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: -354.6089}  
Iteration 1:{space 3}log likelihood = {res:-291.95929}  
Iteration 2:{space 3}log likelihood = {res:-291.82723}  
Iteration 3:{space 3}log likelihood = {res:-291.82717}  
Iteration 4:{space 3}log likelihood = {res:-291.82717}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: -275.3958}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-252.92212}  
Iteration 2:{space 3}log likelihood = {res:-225.44923}  
Iteration 3:{space 3}log likelihood = {res:-225.11182}  
Iteration 4:{space 3}log likelihood = {res:-225.11065}  
Iteration 5:{space 3}log likelihood = {res:-225.11065}  
{res}
{txt}Negative binomial regression                      Number of obs   =  {res}      116
                                                  {txt}LR chi2({res}10{txt})     =  {res}   133.43
{txt}Dispersion     = {res}mean                             {txt}Prob > chi2     =  {res}   0.0000
{txt}Log likelihood = {res}-225.11065                       {txt}Pseudo R2       =  {res}   0.2286

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        stations{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 15}W {c |}{col 18}{res}{space 2} 3.626739{col 30}{space 2} .8715435{col 41}{space 1}    4.16{col 50}{space 3}0.000{col 58}{space 4} 1.918545{col 71}{space 3} 5.334932
{txt}{space 1}capital_sea_50p {c |}{col 18}{res}{space 2}  2.25597{col 30}{space 2} .8235712{col 41}{space 1}    2.74{col 50}{space 3}0.006{col 58}{space 4} .6418001{col 71}{space 3}  3.87014
{txt}Wcapital_sea_50p {c |}{col 18}{res}{space 2} -2.89691{col 30}{space 2} 1.043988{col 41}{space 1}   -2.77{col 50}{space 3}0.006{col 58}{space 4}-4.943089{col 71}{space 3}-.8507309
{txt}{space 7}lnstm_dis {c |}{col 18}{res}{space 2} .3709206{col 30}{space 2} .1130546{col 41}{space 1}    3.28{col 50}{space 3}0.001{col 58}{space 4} .1493377{col 71}{space 3} .5925035
{txt}{space 9}lncoast {c |}{col 18}{res}{space 2} .4477917{col 30}{space 2} .1073384{col 41}{space 1}    4.17{col 50}{space 3}0.000{col 58}{space 4} .2374124{col 71}{space 3}  .658171
{txt}{space 1}pop2000_lecz_pc {c |}{col 18}{res}{space 2}-2.379517{col 30}{space 2} 1.249091{col 41}{space 1}   -1.90{col 50}{space 3}0.057{col 58}{space 4}-4.827692{col 71}{space 3}  .068657
{txt}{space 9}pacific {c |}{col 18}{res}{space 2} .4093276{col 30}{space 2} .2871352{col 41}{space 1}    1.43{col 50}{space 3}0.154{col 58}{space 4}-.1534469{col 71}{space 3} .9721022
{txt}{space 7}ioc_mship {c |}{col 18}{res}{space 2} .6953392{col 30}{space 2} .8442372{col 41}{space 1}    0.82{col 50}{space 3}0.410{col 58}{space 4}-.9593353{col 71}{space 3} 2.350014
{txt}{space 4}dipl_rep_num {c |}{col 18}{res}{space 2}-.0044894{col 30}{space 2}  .005682{col 41}{space 1}   -0.79{col 50}{space 3}0.429{col 58}{space 4} -.015626{col 71}{space 3} .0066472
{txt}{space 7}ship_cntc {c |}{col 18}{res}{space 2} .0206176{col 30}{space 2}  .008036{col 41}{space 1}    2.57{col 50}{space 3}0.010{col 58}{space 4} .0048674{col 71}{space 3} .0363678
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-6.796482{col 30}{space 2} 1.215476{col 41}{space 1}   -5.59{col 50}{space 3}0.000{col 58}{space 4}-9.178771{col 71}{space 3}-4.414193
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        /lnalpha {c |}{col 18}{res}{space 2}-.2642494{col 30}{space 2} .2192078{col 58}{space 4}-.6938889{col 71}{space 3}   .16539
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           alpha{col 18}{c |}{res}{space 2}  .767782{col 30}{space 2} .1683038{col 58}{space 4} .4996293{col 71}{space 3} 1.179853
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Likelihood-ratio test of alpha=0:  {help j_chibar##|_new:chibar2(01) =}{res}  358.46{txt} Prob>=chibar2 = {res}0.000
{txt}
{com}. estimates store m3u, title(Model 3u);
{txt}
{com}. #delimit;
{txt}delimiter now ;
{com}. nbreg stations W capital_sea_50p 
> lnstm_dis lncoast pop2000_lecz_pc pacific ioc_mship 
> dipl_rep_num ship_cntc;

{txt}Fitting Poisson model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-992.05577}  
Iteration 1:{space 3}log likelihood = {res:-579.27066}  
Iteration 2:{space 3}log likelihood = {res:-445.38327}  
Iteration 3:{space 3}log likelihood = {res:-434.22917}  
Iteration 4:{space 3}log likelihood = {res:-434.21595}  
Iteration 5:{space 3}log likelihood = {res:-434.21595}  
{res}
{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: -354.6089}  
Iteration 1:{space 3}log likelihood = {res:-291.95929}  
Iteration 2:{space 3}log likelihood = {res:-291.82723}  
Iteration 3:{space 3}log likelihood = {res:-291.82717}  
Iteration 4:{space 3}log likelihood = {res:-291.82717}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-277.28586}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-256.37482}  
Iteration 2:{space 3}log likelihood = {res:-233.43345}  
Iteration 3:{space 3}log likelihood = {res:-229.04358}  
Iteration 4:{space 3}log likelihood = {res: -228.8404}  
Iteration 5:{space 3}log likelihood = {res:-228.84003}  
Iteration 6:{space 3}log likelihood = {res:-228.84003}  
{res}
{txt}Negative binomial regression                      Number of obs   =  {res}      116
                                                  {txt}LR chi2({res}9{txt})      =  {res}   125.97
{txt}Dispersion     = {res}mean                             {txt}Prob > chi2     =  {res}   0.0000
{txt}Log likelihood = {res}-228.84003                       {txt}Pseudo R2       =  {res}   0.2158

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       stations{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 14}W {c |}{col 17}{res}{space 2} 1.710938{col 29}{space 2} .5275481{col 40}{space 1}    3.24{col 49}{space 3}0.001{col 57}{space 4} .6769625{col 70}{space 3} 2.744913
{txt}capital_sea_50p {c |}{col 17}{res}{space 2} .1347791{col 29}{space 2} .3164086{col 40}{space 1}    0.43{col 49}{space 3}0.670{col 57}{space 4}-.4853703{col 70}{space 3} .7549285
{txt}{space 6}lnstm_dis {c |}{col 17}{res}{space 2} .3782713{col 29}{space 2} .1207493{col 40}{space 1}    3.13{col 49}{space 3}0.002{col 57}{space 4} .1416069{col 70}{space 3} .6149356
{txt}{space 8}lncoast {c |}{col 17}{res}{space 2} .4572896{col 29}{space 2}  .111881{col 40}{space 1}    4.09{col 49}{space 3}0.000{col 57}{space 4} .2380068{col 70}{space 3} .6765724
{txt}pop2000_lecz_pc {c |}{col 17}{res}{space 2}-3.017567{col 29}{space 2} 1.289331{col 40}{space 1}   -2.34{col 49}{space 3}0.019{col 57}{space 4} -5.54461{col 70}{space 3}-.4905244
{txt}{space 8}pacific {c |}{col 17}{res}{space 2} .4166817{col 29}{space 2} .3051094{col 40}{space 1}    1.37{col 49}{space 3}0.172{col 57}{space 4}-.1813218{col 70}{space 3} 1.014685
{txt}{space 6}ioc_mship {c |}{col 17}{res}{space 2} .6288888{col 29}{space 2} .8675595{col 40}{space 1}    0.72{col 49}{space 3}0.469{col 57}{space 4}-1.071497{col 70}{space 3} 2.329274
{txt}{space 3}dipl_rep_num {c |}{col 17}{res}{space 2}-.0039948{col 29}{space 2} .0060405{col 40}{space 1}   -0.66{col 49}{space 3}0.508{col 57}{space 4}-.0158339{col 70}{space 3} .0078444
{txt}{space 6}ship_cntc {c |}{col 17}{res}{space 2} .0253969{col 29}{space 2} .0085907{col 40}{space 1}    2.96{col 49}{space 3}0.003{col 57}{space 4} .0085595{col 70}{space 3} .0422343
{txt}{space 10}_cons {c |}{col 17}{res}{space 2}-5.404081{col 29}{space 2} 1.124963{col 40}{space 1}   -4.80{col 49}{space 3}0.000{col 57}{space 4}-7.608968{col 70}{space 3}-3.199195
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
       /lnalpha {c |}{col 17}{res}{space 2}-.1120155{col 29}{space 2} .2079264{col 57}{space 4}-.5195438{col 70}{space 3} .2955128
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}          alpha{col 17}{c |}{res}{space 2} .8940304{col 29}{space 2} .1858926{col 57}{space 4} .5947918{col 70}{space 3} 1.343815
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Likelihood-ratio test of alpha=0:  {help j_chibar##|_new:chibar2(01) =}{res}  410.75{txt} Prob>=chibar2 = {res}0.000
{txt}
{com}. estimates store m3r, title(Model 3r);
{txt}
{com}. lrtest m3r m3u;

{txt}Likelihood-ratio test{col 55}LR chi2({res}1{txt}){col 67}={res}      7.46
{txt}(Assumption: {res}{stata est replay m3r:m3r}{txt} nested in {res}{stata est replay m3u:m3u}{txt}){col 55}Prob > chi2 = {res}   0.0063
{txt}
{com}. /*Models are not nested--interaction is significant*/
> 
> /*p. 24-25--Effect of interaction (W)(Sea Capital)*/
> #delimit;
{txt}delimiter now ;
{com}. nbreg stations W capital_sea_50p Wcapital_sea_50p 
> lnstm_dis lncoast pop2000_lecz_pc pacific ioc_mship 
> dipl_rep_num ship_cntc;

{txt}Fitting Poisson model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-959.73204}  
Iteration 1:{space 3}log likelihood = {res:-545.19337}  
Iteration 2:{space 3}log likelihood = {res:-414.94029}  
Iteration 3:{space 3}log likelihood = {res:-404.35332}  
Iteration 4:{space 3}log likelihood = {res:-404.34094}  
Iteration 5:{space 3}log likelihood = {res:-404.34094}  
{res}
{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: -354.6089}  
Iteration 1:{space 3}log likelihood = {res:-291.95929}  
Iteration 2:{space 3}log likelihood = {res:-291.82723}  
Iteration 3:{space 3}log likelihood = {res:-291.82717}  
Iteration 4:{space 3}log likelihood = {res:-291.82717}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: -275.3958}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-252.92212}  
Iteration 2:{space 3}log likelihood = {res:-225.44923}  
Iteration 3:{space 3}log likelihood = {res:-225.11182}  
Iteration 4:{space 3}log likelihood = {res:-225.11065}  
Iteration 5:{space 3}log likelihood = {res:-225.11065}  
{res}
{txt}Negative binomial regression                      Number of obs   =  {res}      116
                                                  {txt}LR chi2({res}10{txt})     =  {res}   133.43
{txt}Dispersion     = {res}mean                             {txt}Prob > chi2     =  {res}   0.0000
{txt}Log likelihood = {res}-225.11065                       {txt}Pseudo R2       =  {res}   0.2286

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        stations{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 15}W {c |}{col 18}{res}{space 2} 3.626739{col 30}{space 2} .8715435{col 41}{space 1}    4.16{col 50}{space 3}0.000{col 58}{space 4} 1.918545{col 71}{space 3} 5.334932
{txt}{space 1}capital_sea_50p {c |}{col 18}{res}{space 2}  2.25597{col 30}{space 2} .8235712{col 41}{space 1}    2.74{col 50}{space 3}0.006{col 58}{space 4} .6418001{col 71}{space 3}  3.87014
{txt}Wcapital_sea_50p {c |}{col 18}{res}{space 2} -2.89691{col 30}{space 2} 1.043988{col 41}{space 1}   -2.77{col 50}{space 3}0.006{col 58}{space 4}-4.943089{col 71}{space 3}-.8507309
{txt}{space 7}lnstm_dis {c |}{col 18}{res}{space 2} .3709206{col 30}{space 2} .1130546{col 41}{space 1}    3.28{col 50}{space 3}0.001{col 58}{space 4} .1493377{col 71}{space 3} .5925035
{txt}{space 9}lncoast {c |}{col 18}{res}{space 2} .4477917{col 30}{space 2} .1073384{col 41}{space 1}    4.17{col 50}{space 3}0.000{col 58}{space 4} .2374124{col 71}{space 3}  .658171
{txt}{space 1}pop2000_lecz_pc {c |}{col 18}{res}{space 2}-2.379517{col 30}{space 2} 1.249091{col 41}{space 1}   -1.90{col 50}{space 3}0.057{col 58}{space 4}-4.827692{col 71}{space 3}  .068657
{txt}{space 9}pacific {c |}{col 18}{res}{space 2} .4093276{col 30}{space 2} .2871352{col 41}{space 1}    1.43{col 50}{space 3}0.154{col 58}{space 4}-.1534469{col 71}{space 3} .9721022
{txt}{space 7}ioc_mship {c |}{col 18}{res}{space 2} .6953392{col 30}{space 2} .8442372{col 41}{space 1}    0.82{col 50}{space 3}0.410{col 58}{space 4}-.9593353{col 71}{space 3} 2.350014
{txt}{space 4}dipl_rep_num {c |}{col 18}{res}{space 2}-.0044894{col 30}{space 2}  .005682{col 41}{space 1}   -0.79{col 50}{space 3}0.429{col 58}{space 4} -.015626{col 71}{space 3} .0066472
{txt}{space 7}ship_cntc {c |}{col 18}{res}{space 2} .0206176{col 30}{space 2}  .008036{col 41}{space 1}    2.57{col 50}{space 3}0.010{col 58}{space 4} .0048674{col 71}{space 3} .0363678
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-6.796482{col 30}{space 2} 1.215476{col 41}{space 1}   -5.59{col 50}{space 3}0.000{col 58}{space 4}-9.178771{col 71}{space 3}-4.414193
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        /lnalpha {c |}{col 18}{res}{space 2}-.2642494{col 30}{space 2} .2192078{col 58}{space 4}-.6938889{col 71}{space 3}   .16539
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           alpha{col 18}{c |}{res}{space 2}  .767782{col 30}{space 2} .1683038{col 58}{space 4} .4996293{col 71}{space 3} 1.179853
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Likelihood-ratio test of alpha=0:  {help j_chibar##|_new:chibar2(01) =}{res}  358.46{txt} Prob>=chibar2 = {res}0.000
{txt}
{com}. /*estimates store m3, title(Model 3);*/
> lincom capital_sea_50p +Wcapital_sea_50p;

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[stations]capital_sea_50p + [stations]Wcapital_sea_50p = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    stations{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-.6409399{col 26}{space 2} .4084379{col 37}{space 1}   -1.57{col 46}{space 3}0.117{col 54}{space 4}-1.441463{col 67}{space 3} .1595835
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. /*Figure 4*/
> #delimit;
{txt}delimiter now ;
{com}. lincom capital_sea_50p +Wcapital_sea_50p;

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[stations]capital_sea_50p + [stations]Wcapital_sea_50p = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    stations{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-.6409399{col 26}{space 2} .4084379{col 37}{space 1}   -1.57{col 46}{space 3}0.117{col 54}{space 4}-1.441463{col 67}{space 3} .1595835
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. scalar w1e=r(estimate);
{txt}
{com}. scalar w1se=r(se);
{txt}
{com}. lincom capital_sea_50p +.75*Wcapital_sea_50p;

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[stations]capital_sea_50p + .75{res}*{res}[stations]Wcapital_sea_50p = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    stations{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} .0832875{col 26}{space 2} .3005414{col 37}{space 1}    0.28{col 46}{space 3}0.782{col 54}{space 4}-.5057629{col 67}{space 3} .6723379
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. scalar w7e=r(estimate);
{txt}
{com}. scalar w7se=r(se);
{txt}
{com}. lincom capital_sea_50p +.5*Wcapital_sea_50p;

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[stations]capital_sea_50p + .5{res}*{res}[stations]Wcapital_sea_50p = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    stations{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}  .807515{col 26}{space 2} .3873857{col 37}{space 1}    2.08{col 46}{space 3}0.037{col 54}{space 4} .0482529{col 67}{space 3} 1.566777
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. scalar w5e=r(estimate);
{txt}
{com}. scalar w5se=r(se);
{txt}
{com}. lincom capital_sea_50p +.25*Wcapital_sea_50p;

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[stations]capital_sea_50p + .25{res}*{res}[stations]Wcapital_sea_50p = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    stations{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} 1.531742{col 26}{space 2} .5882594{col 37}{space 1}    2.60{col 46}{space 3}0.009{col 54}{space 4} .3787752{col 67}{space 3}  2.68471
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. scalar w2e=r(estimate);
{txt}
{com}. scalar w2se=r(se);
{txt}
{com}. lincom capital_sea_50p +0*Wcapital_sea_50p;

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[stations]capital_sea_50p = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    stations{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}  2.25597{col 26}{space 2} .8235712{col 37}{space 1}    2.74{col 46}{space 3}0.006{col 54}{space 4} .6418001{col 67}{space 3}  3.87014
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. scalar w0e=r(estimate);
{txt}
{com}. scalar w0se=r(se);
{txt}
{com}. #delimit;
{txt}delimiter now ;
{com}. gen est=.;
{txt}(143 missing values generated)

{com}. gen se=.;
{txt}(143 missing values generated)

{com}. gen valueW=_n if _n<=5;
{txt}(138 missing values generated)

{com}. replace est = w1e in 1;
{txt}(1 real change made)

{com}. replace est = w7e in 2;
{txt}(1 real change made)

{com}. replace est = w5e in 3;
{txt}(1 real change made)

{com}. replace est = w2e in 4;
{txt}(1 real change made)

{com}. replace est = w0e in 5;
{txt}(1 real change made)

{com}. replace se = w1se in 1;
{txt}(1 real change made)

{com}. replace se = w7se in 2;
{txt}(1 real change made)

{com}. replace se = w5se in 3;
{txt}(1 real change made)

{com}. replace se = w2se in 4;
{txt}(1 real change made)

{com}. replace se = w0se in 5;
{txt}(1 real change made)

{com}. #delimit;
{txt}delimiter now ;
{com}. serrbar est se valueW if valueW<=5, mvopts(mcolor(pink)) lcolor(pink) lwidth(medthick)
> ytitle(Stations) xtitle(Winning Coalition Size) title(Estimate of (Sea Capital)+
> (W)(Sea Capital)) 
> scale(1.645) xlabel(1(1)5) yline(0, lwidth(medthick) lcolor(blue) lpattern(dash))
> note(95% CIs);
{res}{txt}
{com}. /*graph save Graph "Fig4_rev.gph",replace;*/
> /*Note: the labels for the x-axis are in the range of [1,5]. They represent*/
> /*the values of the winning coalition [1,0] as properly labelled in the paper*/
> 
> 
> /*p. 26--Predicted number of stations when capital_sea=0 moves to 
> capital_sea=1 and W=0*/
> #delimit;
{txt}delimiter now ;
{com}. nbreg stations W capital_sea_50p Wcapital_sea_50p 
> lnstm_dis lncoast pop2000_lecz_pc pacific ioc_mship 
> dipl_rep_num ship_cntc;

{txt}Fitting Poisson model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-959.73204}  
Iteration 1:{space 3}log likelihood = {res:-545.19337}  
Iteration 2:{space 3}log likelihood = {res:-414.94029}  
Iteration 3:{space 3}log likelihood = {res:-404.35332}  
Iteration 4:{space 3}log likelihood = {res:-404.34094}  
Iteration 5:{space 3}log likelihood = {res:-404.34094}  
{res}
{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: -354.6089}  
Iteration 1:{space 3}log likelihood = {res:-291.95929}  
Iteration 2:{space 3}log likelihood = {res:-291.82723}  
Iteration 3:{space 3}log likelihood = {res:-291.82717}  
Iteration 4:{space 3}log likelihood = {res:-291.82717}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: -275.3958}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-252.92212}  
Iteration 2:{space 3}log likelihood = {res:-225.44923}  
Iteration 3:{space 3}log likelihood = {res:-225.11182}  
Iteration 4:{space 3}log likelihood = {res:-225.11065}  
Iteration 5:{space 3}log likelihood = {res:-225.11065}  
{res}
{txt}Negative binomial regression                      Number of obs   =  {res}      116
                                                  {txt}LR chi2({res}10{txt})     =  {res}   133.43
{txt}Dispersion     = {res}mean                             {txt}Prob > chi2     =  {res}   0.0000
{txt}Log likelihood = {res}-225.11065                       {txt}Pseudo R2       =  {res}   0.2286

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        stations{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 15}W {c |}{col 18}{res}{space 2} 3.626739{col 30}{space 2} .8715435{col 41}{space 1}    4.16{col 50}{space 3}0.000{col 58}{space 4} 1.918545{col 71}{space 3} 5.334932
{txt}{space 1}capital_sea_50p {c |}{col 18}{res}{space 2}  2.25597{col 30}{space 2} .8235712{col 41}{space 1}    2.74{col 50}{space 3}0.006{col 58}{space 4} .6418001{col 71}{space 3}  3.87014
{txt}Wcapital_sea_50p {c |}{col 18}{res}{space 2} -2.89691{col 30}{space 2} 1.043988{col 41}{space 1}   -2.77{col 50}{space 3}0.006{col 58}{space 4}-4.943089{col 71}{space 3}-.8507309
{txt}{space 7}lnstm_dis {c |}{col 18}{res}{space 2} .3709206{col 30}{space 2} .1130546{col 41}{space 1}    3.28{col 50}{space 3}0.001{col 58}{space 4} .1493377{col 71}{space 3} .5925035
{txt}{space 9}lncoast {c |}{col 18}{res}{space 2} .4477917{col 30}{space 2} .1073384{col 41}{space 1}    4.17{col 50}{space 3}0.000{col 58}{space 4} .2374124{col 71}{space 3}  .658171
{txt}{space 1}pop2000_lecz_pc {c |}{col 18}{res}{space 2}-2.379517{col 30}{space 2} 1.249091{col 41}{space 1}   -1.90{col 50}{space 3}0.057{col 58}{space 4}-4.827692{col 71}{space 3}  .068657
{txt}{space 9}pacific {c |}{col 18}{res}{space 2} .4093276{col 30}{space 2} .2871352{col 41}{space 1}    1.43{col 50}{space 3}0.154{col 58}{space 4}-.1534469{col 71}{space 3} .9721022
{txt}{space 7}ioc_mship {c |}{col 18}{res}{space 2} .6953392{col 30}{space 2} .8442372{col 41}{space 1}    0.82{col 50}{space 3}0.410{col 58}{space 4}-.9593353{col 71}{space 3} 2.350014
{txt}{space 4}dipl_rep_num {c |}{col 18}{res}{space 2}-.0044894{col 30}{space 2}  .005682{col 41}{space 1}   -0.79{col 50}{space 3}0.429{col 58}{space 4} -.015626{col 71}{space 3} .0066472
{txt}{space 7}ship_cntc {c |}{col 18}{res}{space 2} .0206176{col 30}{space 2}  .008036{col 41}{space 1}    2.57{col 50}{space 3}0.010{col 58}{space 4} .0048674{col 71}{space 3} .0363678
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-6.796482{col 30}{space 2} 1.215476{col 41}{space 1}   -5.59{col 50}{space 3}0.000{col 58}{space 4}-9.178771{col 71}{space 3}-4.414193
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        /lnalpha {c |}{col 18}{res}{space 2}-.2642494{col 30}{space 2} .2192078{col 58}{space 4}-.6938889{col 71}{space 3}   .16539
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           alpha{col 18}{c |}{res}{space 2}  .767782{col 30}{space 2} .1683038{col 58}{space 4} .4996293{col 71}{space 3} 1.179853
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Likelihood-ratio test of alpha=0:  {help j_chibar##|_new:chibar2(01) =}{res}  358.46{txt} Prob>=chibar2 = {res}0.000
{txt}
{com}. /*estimates store m3, title(Model 3);*/
> #delimit;
{txt}delimiter now ;
{com}. margins, at((mean) _all capital_sea_50p =(0 1) W=0 
> Wcapital_sea_50p=0)  level (95);
{res}
{txt}Adjusted predictions{col 51}Number of obs{col 67}= {res}       116
{txt}Model VCE{col 14}: {res}OIM

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Predicted number of events, predict()}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:W}{space 15}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:capital_~50p}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:Wcapital~50p}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lnstm_dis}{space 7}{txt:=} {space 4}1.90452 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lncoast}{space 9}{txt:=} {space 3}7.191965 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pop2000_le~c}{space 4}{txt:=} {space 3}.1344542 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pacific}{space 9}{txt:=} {space 3}.2413793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ioc_mship}{space 7}{txt:=} {space 3}.9396552 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:dipl_rep_num}{space 4}{txt:=} {space 3}54.49138 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ship_cntc}{space 7}{txt:=} {space 3}23.24414 {txt:(mean)}}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:W}{space 15}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:capital_~50p}{space 4}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:Wcapital~50p}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lnstm_dis}{space 7}{txt:=} {space 4}1.90452 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lncoast}{space 9}{txt:=} {space 3}7.191965 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pop2000_le~c}{space 4}{txt:=} {space 3}.1344542 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pacific}{space 9}{txt:=} {space 3}.2413793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ioc_mship}{space 7}{txt:=} {space 3}.9396552 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:dipl_rep_num}{space 4}{txt:=} {space 3}54.49138 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ship_cntc}{space 7}{txt:=} {space 3}23.24414 {txt:(mean)}}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2} .1105041{col 26}{space 2} .0761972{col 37}{space 1}    1.45{col 46}{space 3}0.147{col 54}{space 4}-.0388397{col 67}{space 3} .2598479
{txt}{space 10}2  {c |}{col 14}{res}{space 2} 1.054711{col 26}{space 2} .4996049{col 37}{space 1}    2.11{col 46}{space 3}0.035{col 54}{space 4} .0755038{col 67}{space 3} 2.033919
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. #delimit;
{txt}delimiter now ;
{com}. margins, at((mean) _all capital_sea_50p =(0 1) W=0 
> Wcapital_sea_50p=0)  level (90);
{res}
{txt}Adjusted predictions{col 51}Number of obs{col 67}= {res}       116
{txt}Model VCE{col 14}: {res}OIM

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Predicted number of events, predict()}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:W}{space 15}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:capital_~50p}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:Wcapital~50p}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lnstm_dis}{space 7}{txt:=} {space 4}1.90452 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lncoast}{space 9}{txt:=} {space 3}7.191965 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pop2000_le~c}{space 4}{txt:=} {space 3}.1344542 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pacific}{space 9}{txt:=} {space 3}.2413793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ioc_mship}{space 7}{txt:=} {space 3}.9396552 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:dipl_rep_num}{space 4}{txt:=} {space 3}54.49138 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ship_cntc}{space 7}{txt:=} {space 3}23.24414 {txt:(mean)}}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:W}{space 15}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:capital_~50p}{space 4}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:Wcapital~50p}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lnstm_dis}{space 7}{txt:=} {space 4}1.90452 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lncoast}{space 9}{txt:=} {space 3}7.191965 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pop2000_le~c}{space 4}{txt:=} {space 3}.1344542 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pacific}{space 9}{txt:=} {space 3}.2413793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ioc_mship}{space 7}{txt:=} {space 3}.9396552 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:dipl_rep_num}{space 4}{txt:=} {space 3}54.49138 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ship_cntc}{space 7}{txt:=} {space 3}23.24414 {txt:(mean)}}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [90% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2} .1105041{col 26}{space 2} .0761972{col 37}{space 1}    1.45{col 46}{space 3}0.147{col 54}{space 4}-.0148292{col 67}{space 3} .2358373
{txt}{space 10}2  {c |}{col 14}{res}{space 2} 1.054711{col 26}{space 2} .4996049{col 37}{space 1}    2.11{col 46}{space 3}0.035{col 54}{space 4} .2329345{col 67}{space 3} 1.876488
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. /************************** Model 4 *********************************/
> 
> #delimit;
{txt}delimiter now ;
{com}. zinb stations W capital_sea_50p Wcapital_sea_50p 
> lnstm_dis lncoast pop2000_lecz_pc pacific ioc_mship dipl_rep_num
> ship_cntc, inflate(W lnstm_dead Wlnstm_dead);

{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-332.29707}  
Iteration 1:{space 3}log likelihood = {res:-285.23716}  
Iteration 2:{space 3}log likelihood = {res:-281.95103}  
Iteration 3:{space 3}log likelihood = {res: -281.6072}  
Iteration 4:{space 3}log likelihood = {res:-281.59811}  
Iteration 5:{space 3}log likelihood = {res:-281.59811}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-281.59811}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-267.22855}  (not concave)
Iteration 2:{space 3}log likelihood = {res:-259.20784}  (not concave)
Iteration 3:{space 3}log likelihood = {res:-251.85046}  (not concave)
Iteration 4:{space 3}log likelihood = {res:-247.31798}  (not concave)
Iteration 5:{space 3}log likelihood = {res:-244.80806}  (not concave)
Iteration 6:{space 3}log likelihood = {res:-244.12143}  
Iteration 7:{space 3}log likelihood = {res:-235.93046}  
Iteration 8:{space 3}log likelihood = {res:-232.20821}  (not concave)
Iteration 9:{space 3}log likelihood = {res: -231.5395}  (not concave)
Iteration 10:{space 2}log likelihood = {res:-228.54484}  
Iteration 11:{space 2}log likelihood = {res:-225.42126}  
Iteration 12:{space 2}log likelihood = {res:-224.59132}  
Iteration 13:{space 2}log likelihood = {res:-224.54654}  
Iteration 14:{space 2}log likelihood = {res:-224.54519}  
Iteration 15:{space 2}log likelihood = {res:-224.54518}  
{res}
{txt}Zero-inflated negative binomial regression        Number of obs   =  {res}      116
                                                  {txt}Nonzero obs     =  {res}       70
                                                  {txt}Zero obs        =  {res}       46

{txt}Inflation model = {res}logit                           {txt}LR chi2({res}10{txt})     =  {res}   114.11
{txt}Log likelihood  = {res}-224.5452                       {txt}Prob > chi2     =  {res}   0.0000

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        stations{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}stations         {txt}{c |}
{space 15}W {c |}{col 18}{res}{space 2} 3.574855{col 30}{space 2} .8825863{col 41}{space 1}    4.05{col 50}{space 3}0.000{col 58}{space 4} 1.845018{col 71}{space 3} 5.304692
{txt}{space 1}capital_sea_50p {c |}{col 18}{res}{space 2} 2.396414{col 30}{space 2} .8527328{col 41}{space 1}    2.81{col 50}{space 3}0.005{col 58}{space 4} .7250883{col 71}{space 3} 4.067739
{txt}Wcapital_sea_50p {c |}{col 18}{res}{space 2}-3.022908{col 30}{space 2} 1.060734{col 41}{space 1}   -2.85{col 50}{space 3}0.004{col 58}{space 4}-5.101908{col 71}{space 3}-.9439075
{txt}{space 7}lnstm_dis {c |}{col 18}{res}{space 2} .3021843{col 30}{space 2} .1291185{col 41}{space 1}    2.34{col 50}{space 3}0.019{col 58}{space 4} .0491167{col 71}{space 3} .5552519
{txt}{space 9}lncoast {c |}{col 18}{res}{space 2} .4484153{col 30}{space 2} .1080456{col 41}{space 1}    4.15{col 50}{space 3}0.000{col 58}{space 4} .2366498{col 71}{space 3} .6601808
{txt}{space 1}pop2000_lecz_pc {c |}{col 18}{res}{space 2}-2.323258{col 30}{space 2} 1.274987{col 41}{space 1}   -1.82{col 50}{space 3}0.068{col 58}{space 4}-4.822186{col 71}{space 3} .1756696
{txt}{space 9}pacific {c |}{col 18}{res}{space 2} .3745271{col 30}{space 2} .2866387{col 41}{space 1}    1.31{col 50}{space 3}0.191{col 58}{space 4}-.1872745{col 71}{space 3} .9363288
{txt}{space 7}ioc_mship {c |}{col 18}{res}{space 2} .7189619{col 30}{space 2} .8707539{col 41}{space 1}    0.83{col 50}{space 3}0.409{col 58}{space 4}-.9876843{col 71}{space 3} 2.425608
{txt}{space 4}dipl_rep_num {c |}{col 18}{res}{space 2}-.0030871{col 30}{space 2} .0059583{col 41}{space 1}   -0.52{col 50}{space 3}0.604{col 58}{space 4}-.0147651{col 71}{space 3} .0085909
{txt}{space 7}ship_cntc {c |}{col 18}{res}{space 2} .0193455{col 30}{space 2} .0082871{col 41}{space 1}    2.33{col 50}{space 3}0.020{col 58}{space 4} .0031031{col 71}{space 3} .0355878
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-6.635323{col 30}{space 2} 1.238835{col 41}{space 1}   -5.36{col 50}{space 3}0.000{col 58}{space 4}-9.063395{col 71}{space 3}-4.207251
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}inflate          {txt}{c |}
{space 15}W {c |}{col 18}{res}{space 2}-2.133115{col 30}{space 2} 4.049854{col 41}{space 1}   -0.53{col 50}{space 3}0.598{col 58}{space 4}-10.07068{col 71}{space 3} 5.804453
{txt}{space 6}lnstm_dead {c |}{col 18}{res}{space 2}-.7698981{col 30}{space 2} 1.548856{col 41}{space 1}   -0.50{col 50}{space 3}0.619{col 58}{space 4}  -3.8056{col 71}{space 3} 2.265804
{txt}{space 5}Wlnstm_dead {c |}{col 18}{res}{space 2} .0455472{col 30}{space 2} 1.965145{col 41}{space 1}    0.02{col 50}{space 3}0.982{col 58}{space 4}-3.806066{col 71}{space 3}  3.89716
{txt}{space 11}_cons {c |}{col 18}{res}{space 2} .4068154{col 30}{space 2} 2.403726{col 41}{space 1}    0.17{col 50}{space 3}0.866{col 58}{space 4}  -4.3044{col 71}{space 3} 5.118031
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        /lnalpha {c |}{col 18}{res}{space 2}-.3355564{col 30}{space 2} .2348745{col 41}{space 1}   -1.43{col 50}{space 3}0.153{col 58}{space 4} -.795902{col 71}{space 3} .1247892
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           alpha{col 18}{c |}{res}{space 2} .7149402{col 30}{space 2} .1679212{col 58}{space 4} .4511741{col 71}{space 3}  1.13291
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. /*estimates store m4, title(Model 4);*/
> lincom capital_sea_50p +Wcapital_sea_50p;

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[stations]capital_sea_50p + [stations]Wcapital_sea_50p = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    stations{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-.6264939{col 26}{space 2} .4104035{col 37}{space 1}   -1.53{col 46}{space 3}0.127{col 54}{space 4} -1.43087{col 67}{space 3} .1778822
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. /*p 24--Predicted number of stations when W=0 moves to W=1*/
> #delimit;
{txt}delimiter now ;
{com}. margins, at((mean) _all W=(0 1)) ;
{res}
{txt}Adjusted predictions{col 51}Number of obs{col 67}= {res}       116
{txt}Model VCE{col 14}: {res}OIM

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Predicted number of events, predict()}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:W}{space 15}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:capital_~50p}{space 4}{txt:=} {space 3}.4482759 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:Wcapital~50p}{space 4}{txt:=} {space 3}.2887931 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lnstm_dis}{space 7}{txt:=} {space 4}1.90452 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lncoast}{space 9}{txt:=} {space 3}7.191965 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pop2000_le~c}{space 4}{txt:=} {space 3}.1344542 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pacific}{space 9}{txt:=} {space 3}.2413793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ioc_mship}{space 7}{txt:=} {space 3}.9396552 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:dipl_rep_num}{space 4}{txt:=} {space 3}54.49138 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ship_cntc}{space 7}{txt:=} {space 3}23.24414 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lnstm_dead}{space 6}{txt:=} {space 5}4.0626 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:Wlnstm_dead}{space 5}{txt:=} {space 3}2.898881 {txt:(mean)}}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:W}{space 15}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:capital_~50p}{space 4}{txt:=} {space 3}.4482759 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:Wcapital~50p}{space 4}{txt:=} {space 3}.2887931 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lnstm_dis}{space 7}{txt:=} {space 4}1.90452 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lncoast}{space 9}{txt:=} {space 3}7.191965 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pop2000_le~c}{space 4}{txt:=} {space 3}.1344542 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pacific}{space 9}{txt:=} {space 3}.2413793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ioc_mship}{space 7}{txt:=} {space 3}.9396552 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:dipl_rep_num}{space 4}{txt:=} {space 3}54.49138 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ship_cntc}{space 7}{txt:=} {space 3}23.24414 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lnstm_dead}{space 6}{txt:=} {space 5}4.0626 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:Wlnstm_dead}{space 5}{txt:=} {space 3}2.898881 {txt:(mean)}}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2} .1393289{col 26}{space 2} .0941557{col 37}{space 1}    1.48{col 46}{space 3}0.139{col 54}{space 4}-.0452129{col 67}{space 3} .3238707
{txt}{space 10}2  {c |}{col 14}{res}{space 2} 5.298866{col 26}{space 2} 1.538487{col 37}{space 1}    3.44{col 46}{space 3}0.001{col 54}{space 4} 2.283487{col 67}{space 3} 8.314246
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. /*p. 26--Effect of interaction (W)(Sea Capital)*/
> #delimit;
{txt}delimiter now ;
{com}. zinb stations W capital_sea_50p Wcapital_sea_50p 
> lnstm_dis lncoast pop2000_lecz_pc pacific ioc_mship dipl_rep_num
> ship_cntc, inflate(W lnstm_dead Wlnstm_dead);

{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-332.29707}  
Iteration 1:{space 3}log likelihood = {res:-285.23716}  
Iteration 2:{space 3}log likelihood = {res:-281.95103}  
Iteration 3:{space 3}log likelihood = {res: -281.6072}  
Iteration 4:{space 3}log likelihood = {res:-281.59811}  
Iteration 5:{space 3}log likelihood = {res:-281.59811}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-281.59811}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-267.22855}  (not concave)
Iteration 2:{space 3}log likelihood = {res:-259.20784}  (not concave)
Iteration 3:{space 3}log likelihood = {res:-251.85046}  (not concave)
Iteration 4:{space 3}log likelihood = {res:-247.31798}  (not concave)
Iteration 5:{space 3}log likelihood = {res:-244.80806}  (not concave)
Iteration 6:{space 3}log likelihood = {res:-244.12143}  
Iteration 7:{space 3}log likelihood = {res:-235.93046}  
Iteration 8:{space 3}log likelihood = {res:-232.20821}  (not concave)
Iteration 9:{space 3}log likelihood = {res: -231.5395}  (not concave)
Iteration 10:{space 2}log likelihood = {res:-228.54484}  
Iteration 11:{space 2}log likelihood = {res:-225.42126}  
Iteration 12:{space 2}log likelihood = {res:-224.59132}  
Iteration 13:{space 2}log likelihood = {res:-224.54654}  
Iteration 14:{space 2}log likelihood = {res:-224.54519}  
Iteration 15:{space 2}log likelihood = {res:-224.54518}  
{res}
{txt}Zero-inflated negative binomial regression        Number of obs   =  {res}      116
                                                  {txt}Nonzero obs     =  {res}       70
                                                  {txt}Zero obs        =  {res}       46

{txt}Inflation model = {res}logit                           {txt}LR chi2({res}10{txt})     =  {res}   114.11
{txt}Log likelihood  = {res}-224.5452                       {txt}Prob > chi2     =  {res}   0.0000

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        stations{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}stations         {txt}{c |}
{space 15}W {c |}{col 18}{res}{space 2} 3.574855{col 30}{space 2} .8825863{col 41}{space 1}    4.05{col 50}{space 3}0.000{col 58}{space 4} 1.845018{col 71}{space 3} 5.304692
{txt}{space 1}capital_sea_50p {c |}{col 18}{res}{space 2} 2.396414{col 30}{space 2} .8527328{col 41}{space 1}    2.81{col 50}{space 3}0.005{col 58}{space 4} .7250883{col 71}{space 3} 4.067739
{txt}Wcapital_sea_50p {c |}{col 18}{res}{space 2}-3.022908{col 30}{space 2} 1.060734{col 41}{space 1}   -2.85{col 50}{space 3}0.004{col 58}{space 4}-5.101908{col 71}{space 3}-.9439075
{txt}{space 7}lnstm_dis {c |}{col 18}{res}{space 2} .3021843{col 30}{space 2} .1291185{col 41}{space 1}    2.34{col 50}{space 3}0.019{col 58}{space 4} .0491167{col 71}{space 3} .5552519
{txt}{space 9}lncoast {c |}{col 18}{res}{space 2} .4484153{col 30}{space 2} .1080456{col 41}{space 1}    4.15{col 50}{space 3}0.000{col 58}{space 4} .2366498{col 71}{space 3} .6601808
{txt}{space 1}pop2000_lecz_pc {c |}{col 18}{res}{space 2}-2.323258{col 30}{space 2} 1.274987{col 41}{space 1}   -1.82{col 50}{space 3}0.068{col 58}{space 4}-4.822186{col 71}{space 3} .1756696
{txt}{space 9}pacific {c |}{col 18}{res}{space 2} .3745271{col 30}{space 2} .2866387{col 41}{space 1}    1.31{col 50}{space 3}0.191{col 58}{space 4}-.1872745{col 71}{space 3} .9363288
{txt}{space 7}ioc_mship {c |}{col 18}{res}{space 2} .7189619{col 30}{space 2} .8707539{col 41}{space 1}    0.83{col 50}{space 3}0.409{col 58}{space 4}-.9876843{col 71}{space 3} 2.425608
{txt}{space 4}dipl_rep_num {c |}{col 18}{res}{space 2}-.0030871{col 30}{space 2} .0059583{col 41}{space 1}   -0.52{col 50}{space 3}0.604{col 58}{space 4}-.0147651{col 71}{space 3} .0085909
{txt}{space 7}ship_cntc {c |}{col 18}{res}{space 2} .0193455{col 30}{space 2} .0082871{col 41}{space 1}    2.33{col 50}{space 3}0.020{col 58}{space 4} .0031031{col 71}{space 3} .0355878
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-6.635323{col 30}{space 2} 1.238835{col 41}{space 1}   -5.36{col 50}{space 3}0.000{col 58}{space 4}-9.063395{col 71}{space 3}-4.207251
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}inflate          {txt}{c |}
{space 15}W {c |}{col 18}{res}{space 2}-2.133115{col 30}{space 2} 4.049854{col 41}{space 1}   -0.53{col 50}{space 3}0.598{col 58}{space 4}-10.07068{col 71}{space 3} 5.804453
{txt}{space 6}lnstm_dead {c |}{col 18}{res}{space 2}-.7698981{col 30}{space 2} 1.548856{col 41}{space 1}   -0.50{col 50}{space 3}0.619{col 58}{space 4}  -3.8056{col 71}{space 3} 2.265804
{txt}{space 5}Wlnstm_dead {c |}{col 18}{res}{space 2} .0455472{col 30}{space 2} 1.965145{col 41}{space 1}    0.02{col 50}{space 3}0.982{col 58}{space 4}-3.806066{col 71}{space 3}  3.89716
{txt}{space 11}_cons {c |}{col 18}{res}{space 2} .4068154{col 30}{space 2} 2.403726{col 41}{space 1}    0.17{col 50}{space 3}0.866{col 58}{space 4}  -4.3044{col 71}{space 3} 5.118031
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        /lnalpha {c |}{col 18}{res}{space 2}-.3355564{col 30}{space 2} .2348745{col 41}{space 1}   -1.43{col 50}{space 3}0.153{col 58}{space 4} -.795902{col 71}{space 3} .1247892
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           alpha{col 18}{c |}{res}{space 2} .7149402{col 30}{space 2} .1679212{col 58}{space 4} .4511741{col 71}{space 3}  1.13291
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. /*estimates store m4, title(Model 4);*/
> lincom capital_sea_50p +Wcapital_sea_50p;

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[stations]capital_sea_50p + [stations]Wcapital_sea_50p = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    stations{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-.6264939{col 26}{space 2} .4104035{col 37}{space 1}   -1.53{col 46}{space 3}0.127{col 54}{space 4} -1.43087{col 67}{space 3} .1778822
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. /*p. 26--Predicted number of stations when capital_sea=0 moves to 
> capital_sea=1 and W=0*/
> #delimit;
{txt}delimiter now ;
{com}. zinb stations W capital_sea_50p Wcapital_sea_50p 
> lnstm_dis lncoast pop2000_lecz_pc pacific ioc_mship dipl_rep_num
> ship_cntc, inflate(W lnstm_dead Wlnstm_dead);

{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-332.29707}  
Iteration 1:{space 3}log likelihood = {res:-285.23716}  
Iteration 2:{space 3}log likelihood = {res:-281.95103}  
Iteration 3:{space 3}log likelihood = {res: -281.6072}  
Iteration 4:{space 3}log likelihood = {res:-281.59811}  
Iteration 5:{space 3}log likelihood = {res:-281.59811}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-281.59811}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-267.22855}  (not concave)
Iteration 2:{space 3}log likelihood = {res:-259.20784}  (not concave)
Iteration 3:{space 3}log likelihood = {res:-251.85046}  (not concave)
Iteration 4:{space 3}log likelihood = {res:-247.31798}  (not concave)
Iteration 5:{space 3}log likelihood = {res:-244.80806}  (not concave)
Iteration 6:{space 3}log likelihood = {res:-244.12143}  
Iteration 7:{space 3}log likelihood = {res:-235.93046}  
Iteration 8:{space 3}log likelihood = {res:-232.20821}  (not concave)
Iteration 9:{space 3}log likelihood = {res: -231.5395}  (not concave)
Iteration 10:{space 2}log likelihood = {res:-228.54484}  
Iteration 11:{space 2}log likelihood = {res:-225.42126}  
Iteration 12:{space 2}log likelihood = {res:-224.59132}  
Iteration 13:{space 2}log likelihood = {res:-224.54654}  
Iteration 14:{space 2}log likelihood = {res:-224.54519}  
Iteration 15:{space 2}log likelihood = {res:-224.54518}  
{res}
{txt}Zero-inflated negative binomial regression        Number of obs   =  {res}      116
                                                  {txt}Nonzero obs     =  {res}       70
                                                  {txt}Zero obs        =  {res}       46

{txt}Inflation model = {res}logit                           {txt}LR chi2({res}10{txt})     =  {res}   114.11
{txt}Log likelihood  = {res}-224.5452                       {txt}Prob > chi2     =  {res}   0.0000

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        stations{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}stations         {txt}{c |}
{space 15}W {c |}{col 18}{res}{space 2} 3.574855{col 30}{space 2} .8825863{col 41}{space 1}    4.05{col 50}{space 3}0.000{col 58}{space 4} 1.845018{col 71}{space 3} 5.304692
{txt}{space 1}capital_sea_50p {c |}{col 18}{res}{space 2} 2.396414{col 30}{space 2} .8527328{col 41}{space 1}    2.81{col 50}{space 3}0.005{col 58}{space 4} .7250883{col 71}{space 3} 4.067739
{txt}Wcapital_sea_50p {c |}{col 18}{res}{space 2}-3.022908{col 30}{space 2} 1.060734{col 41}{space 1}   -2.85{col 50}{space 3}0.004{col 58}{space 4}-5.101908{col 71}{space 3}-.9439075
{txt}{space 7}lnstm_dis {c |}{col 18}{res}{space 2} .3021843{col 30}{space 2} .1291185{col 41}{space 1}    2.34{col 50}{space 3}0.019{col 58}{space 4} .0491167{col 71}{space 3} .5552519
{txt}{space 9}lncoast {c |}{col 18}{res}{space 2} .4484153{col 30}{space 2} .1080456{col 41}{space 1}    4.15{col 50}{space 3}0.000{col 58}{space 4} .2366498{col 71}{space 3} .6601808
{txt}{space 1}pop2000_lecz_pc {c |}{col 18}{res}{space 2}-2.323258{col 30}{space 2} 1.274987{col 41}{space 1}   -1.82{col 50}{space 3}0.068{col 58}{space 4}-4.822186{col 71}{space 3} .1756696
{txt}{space 9}pacific {c |}{col 18}{res}{space 2} .3745271{col 30}{space 2} .2866387{col 41}{space 1}    1.31{col 50}{space 3}0.191{col 58}{space 4}-.1872745{col 71}{space 3} .9363288
{txt}{space 7}ioc_mship {c |}{col 18}{res}{space 2} .7189619{col 30}{space 2} .8707539{col 41}{space 1}    0.83{col 50}{space 3}0.409{col 58}{space 4}-.9876843{col 71}{space 3} 2.425608
{txt}{space 4}dipl_rep_num {c |}{col 18}{res}{space 2}-.0030871{col 30}{space 2} .0059583{col 41}{space 1}   -0.52{col 50}{space 3}0.604{col 58}{space 4}-.0147651{col 71}{space 3} .0085909
{txt}{space 7}ship_cntc {c |}{col 18}{res}{space 2} .0193455{col 30}{space 2} .0082871{col 41}{space 1}    2.33{col 50}{space 3}0.020{col 58}{space 4} .0031031{col 71}{space 3} .0355878
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-6.635323{col 30}{space 2} 1.238835{col 41}{space 1}   -5.36{col 50}{space 3}0.000{col 58}{space 4}-9.063395{col 71}{space 3}-4.207251
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}inflate          {txt}{c |}
{space 15}W {c |}{col 18}{res}{space 2}-2.133115{col 30}{space 2} 4.049854{col 41}{space 1}   -0.53{col 50}{space 3}0.598{col 58}{space 4}-10.07068{col 71}{space 3} 5.804453
{txt}{space 6}lnstm_dead {c |}{col 18}{res}{space 2}-.7698981{col 30}{space 2} 1.548856{col 41}{space 1}   -0.50{col 50}{space 3}0.619{col 58}{space 4}  -3.8056{col 71}{space 3} 2.265804
{txt}{space 5}Wlnstm_dead {c |}{col 18}{res}{space 2} .0455472{col 30}{space 2} 1.965145{col 41}{space 1}    0.02{col 50}{space 3}0.982{col 58}{space 4}-3.806066{col 71}{space 3}  3.89716
{txt}{space 11}_cons {c |}{col 18}{res}{space 2} .4068154{col 30}{space 2} 2.403726{col 41}{space 1}    0.17{col 50}{space 3}0.866{col 58}{space 4}  -4.3044{col 71}{space 3} 5.118031
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        /lnalpha {c |}{col 18}{res}{space 2}-.3355564{col 30}{space 2} .2348745{col 41}{space 1}   -1.43{col 50}{space 3}0.153{col 58}{space 4} -.795902{col 71}{space 3} .1247892
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           alpha{col 18}{c |}{res}{space 2} .7149402{col 30}{space 2} .1679212{col 58}{space 4} .4511741{col 71}{space 3}  1.13291
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. /*estimates store m4, title(Model 4);*/
> #delimit;
{txt}delimiter now ;
{com}. margins, at((mean) _all capital_sea_50p =(0 1) W=0 
> Wcapital_sea_50p=0)  level (90);
{res}
{txt}Adjusted predictions{col 51}Number of obs{col 67}= {res}       116
{txt}Model VCE{col 14}: {res}OIM

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Predicted number of events, predict()}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:W}{space 15}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:capital_~50p}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:Wcapital~50p}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lnstm_dis}{space 7}{txt:=} {space 4}1.90452 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lncoast}{space 9}{txt:=} {space 3}7.191965 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pop2000_le~c}{space 4}{txt:=} {space 3}.1344542 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pacific}{space 9}{txt:=} {space 3}.2413793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ioc_mship}{space 7}{txt:=} {space 3}.9396552 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:dipl_rep_num}{space 4}{txt:=} {space 3}54.49138 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ship_cntc}{space 7}{txt:=} {space 3}23.24414 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lnstm_dead}{space 6}{txt:=} {space 5}4.0626 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:Wlnstm_dead}{space 5}{txt:=} {space 3}2.898881 {txt:(mean)}}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:W}{space 15}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:capital_~50p}{space 4}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:Wcapital~50p}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lnstm_dis}{space 7}{txt:=} {space 4}1.90452 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lncoast}{space 9}{txt:=} {space 3}7.191965 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pop2000_le~c}{space 4}{txt:=} {space 3}.1344542 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pacific}{space 9}{txt:=} {space 3}.2413793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ioc_mship}{space 7}{txt:=} {space 3}.9396552 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:dipl_rep_num}{space 4}{txt:=} {space 3}54.49138 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ship_cntc}{space 7}{txt:=} {space 3}23.24414 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lnstm_dead}{space 6}{txt:=} {space 5}4.0626 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:Wlnstm_dead}{space 5}{txt:=} {space 3}2.898881 {txt:(mean)}}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [90% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2} .1139293{col 26}{space 2} .0824597{col 37}{space 1}    1.38{col 46}{space 3}0.167{col 54}{space 4}-.0217049{col 67}{space 3} .2495635
{txt}{space 10}2  {c |}{col 14}{res}{space 2} 1.251367{col 26}{space 2} .6776582{col 37}{space 1}    1.85{col 46}{space 3}0.065{col 54}{space 4} .1367182{col 67}{space 3} 2.366015
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. /********************************************************************/
> /********************************************************************/
> /******************* Robustness: Appendix 4 *********************/
> /********************************************************************/
> /********************************************************************/
> 
> 
> /************************** Model 3r *********************************/
> 
> #delimit;
{txt}delimiter now ;
{com}. nbreg stations W capital_sea_50p Wcapital_sea_50p 
> lnstm_dis lncoast pop2000_lecz_pc pacific ioc_mship 
> dipl_rep_num ship_cntc
> ln_gdppc ln_pop fdi_pcgdp;

{txt}Fitting Poisson model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-1050.2957}  
Iteration 1:{space 3}log likelihood = {res:-820.28627}  
Iteration 2:{space 3}log likelihood = {res:-398.53171}  
Iteration 3:{space 3}log likelihood = {res:-343.54953}  
Iteration 4:{space 3}log likelihood = {res:-340.90955}  
Iteration 5:{space 3}log likelihood = {res:-340.89477}  
Iteration 6:{space 3}log likelihood = {res:-340.89477}  
{res}
{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-320.22786}  
Iteration 1:{space 3}log likelihood = {res:-268.13546}  
Iteration 2:{space 3}log likelihood = {res:-268.01771}  
Iteration 3:{space 3}log likelihood = {res:-268.01766}  
Iteration 4:{space 3}log likelihood = {res:-268.01766}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: -254.5221}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-230.21989}  
Iteration 2:{space 3}log likelihood = {res:-204.89582}  
Iteration 3:{space 3}log likelihood = {res:-203.10397}  
Iteration 4:{space 3}log likelihood = {res: -203.0374}  
Iteration 5:{space 3}log likelihood = {res:-203.03728}  
Iteration 6:{space 3}log likelihood = {res:-203.03728}  
{res}
{txt}Negative binomial regression                      Number of obs   =  {res}      102
                                                  {txt}LR chi2({res}13{txt})     =  {res}   129.96
{txt}Dispersion     = {res}mean                             {txt}Prob > chi2     =  {res}   0.0000
{txt}Log likelihood = {res}-203.03728                       {txt}Pseudo R2       =  {res}   0.2424

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        stations{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 15}W {c |}{col 18}{res}{space 2} 4.086628{col 30}{space 2} .9926792{col 41}{space 1}    4.12{col 50}{space 3}0.000{col 58}{space 4} 2.141012{col 71}{space 3} 6.032243
{txt}{space 1}capital_sea_50p {c |}{col 18}{res}{space 2} 1.787484{col 30}{space 2}  .998213{col 41}{space 1}    1.79{col 50}{space 3}0.073{col 58}{space 4}-.1689771{col 71}{space 3} 3.743946
{txt}Wcapital_sea_50p {c |}{col 18}{res}{space 2}-2.152802{col 30}{space 2} 1.223759{col 41}{space 1}   -1.76{col 50}{space 3}0.079{col 58}{space 4}-4.551325{col 71}{space 3} .2457215
{txt}{space 7}lnstm_dis {c |}{col 18}{res}{space 2} .3266305{col 30}{space 2} .1147803{col 41}{space 1}    2.85{col 50}{space 3}0.004{col 58}{space 4} .1016653{col 71}{space 3} .5515957
{txt}{space 9}lncoast {c |}{col 18}{res}{space 2}  .388997{col 30}{space 2}  .110769{col 41}{space 1}    3.51{col 50}{space 3}0.000{col 58}{space 4} .1718937{col 71}{space 3} .6061002
{txt}{space 1}pop2000_lecz_pc {c |}{col 18}{res}{space 2}-1.987973{col 30}{space 2} 1.270506{col 41}{space 1}   -1.56{col 50}{space 3}0.118{col 58}{space 4}-4.478118{col 71}{space 3} .5021725
{txt}{space 9}pacific {c |}{col 18}{res}{space 2} .5940567{col 30}{space 2}  .282352{col 41}{space 1}    2.10{col 50}{space 3}0.035{col 58}{space 4} .0406569{col 71}{space 3} 1.147456
{txt}{space 7}ioc_mship {c |}{col 18}{res}{space 2} .7732758{col 30}{space 2} .8686429{col 41}{space 1}    0.89{col 50}{space 3}0.373{col 58}{space 4}-.9292331{col 71}{space 3} 2.475785
{txt}{space 4}dipl_rep_num {c |}{col 18}{res}{space 2} .0030773{col 30}{space 2} .0070811{col 41}{space 1}    0.43{col 50}{space 3}0.664{col 58}{space 4}-.0108014{col 71}{space 3} .0169559
{txt}{space 7}ship_cntc {c |}{col 18}{res}{space 2} .0105298{col 30}{space 2} .0083724{col 41}{space 1}    1.26{col 50}{space 3}0.209{col 58}{space 4}-.0058798{col 71}{space 3} .0269394
{txt}{space 8}ln_gdppc {c |}{col 18}{res}{space 2}-.0260559{col 30}{space 2} .1541419{col 41}{space 1}   -0.17{col 50}{space 3}0.866{col 58}{space 4}-.3281684{col 71}{space 3} .2760566
{txt}{space 10}ln_pop {c |}{col 18}{res}{space 2} .0198867{col 30}{space 2} .1628643{col 41}{space 1}    0.12{col 50}{space 3}0.903{col 58}{space 4}-.2993215{col 71}{space 3} .3390949
{txt}{space 7}fdi_pcgdp {c |}{col 18}{res}{space 2} .0086979{col 30}{space 2} .0315103{col 41}{space 1}    0.28{col 50}{space 3}0.783{col 58}{space 4}-.0530611{col 71}{space 3} .0704569
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-7.201507{col 30}{space 2} 3.472949{col 41}{space 1}   -2.07{col 50}{space 3}0.038{col 58}{space 4}-14.00836{col 71}{space 3}-.3946508
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        /lnalpha {c |}{col 18}{res}{space 2} -.469831{col 30}{space 2} .2348644{col 58}{space 4}-.9301567{col 71}{space 3}-.0095053
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           alpha{col 18}{c |}{res}{space 2} .6251079{col 30}{space 2} .1468156{col 58}{space 4} .3944919{col 71}{space 3} .9905397
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Likelihood-ratio test of alpha=0:  {help j_chibar##|_new:chibar2(01) =}{res}  275.71{txt} Prob>=chibar2 = {res}0.000
{txt}
{com}. estimates store m3r, title(Model 3r);
{txt}
{com}. /************************** Model 5: Polynomial *************************/
> 
> *Create quadratic polynomial of a capital�s distance to the shore*/
> #delimit;
. gen distance_km2= distance_km^2;
{txt}(1 missing value generated)

{com}. gen Wdistance_km= W* distance_km;
{txt}(21 missing values generated)

{com}. gen Wdistance_km2= W* distance_km2;
{txt}(21 missing values generated)

{com}. #delimit;
{txt}delimiter now ;
{com}. nbreg stations W distance_km distance_km2 Wdistance_km Wdistance_km2
> lnstm_dis lncoast pop2000_lecz_pc pacific ioc_mship dipl_rep_num ship_cntc;

{txt}Fitting Poisson model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-1273.6039}  
Iteration 1:{space 3}log likelihood = {res:  -759.038}  
Iteration 2:{space 3}log likelihood = {res:-671.05341}  
Iteration 3:{space 3}log likelihood = {res:-363.82564}  
Iteration 4:{space 3}log likelihood = {res:-358.88613}  
Iteration 5:{space 3}log likelihood = {res:-358.85983}  
Iteration 6:{space 3}log likelihood = {res:-358.85982}  
{res}
{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: -354.6089}  
Iteration 1:{space 3}log likelihood = {res:-291.95929}  
Iteration 2:{space 3}log likelihood = {res:-291.82723}  
Iteration 3:{space 3}log likelihood = {res:-291.82717}  
Iteration 4:{space 3}log likelihood = {res:-291.82717}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-276.00779}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-255.39065}  
Iteration 2:{space 3}log likelihood = {res: -244.2736}  
Iteration 3:{space 3}log likelihood = {res:-241.38659}  
Iteration 4:{space 3}log likelihood = {res:-236.54111}  
Iteration 5:{space 3}log likelihood = {res:-230.99609}  
Iteration 6:{space 3}log likelihood = {res:-228.41968}  
Iteration 7:{space 3}log likelihood = {res:-226.57218}  
Iteration 8:{space 3}log likelihood = {res:-226.54768}  
Iteration 9:{space 3}log likelihood = {res:-226.54767}  
{res}
{txt}Negative binomial regression                      Number of obs   =  {res}      116
                                                  {txt}LR chi2({res}12{txt})     =  {res}   130.56
{txt}Dispersion     = {res}mean                             {txt}Prob > chi2     =  {res}   0.0000
{txt}Log likelihood = {res}-226.54767                       {txt}Pseudo R2       =  {res}   0.2237

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       stations{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 14}W {c |}{col 17}{res}{space 2} 1.070869{col 29}{space 2} .5877133{col 40}{space 1}    1.82{col 49}{space 3}0.068{col 57}{space 4}-.0810282{col 70}{space 3} 2.222766
{txt}{space 4}distance_km {c |}{col 17}{res}{space 2} -.017438{col 29}{space 2} .0086979{col 40}{space 1}   -2.00{col 49}{space 3}0.045{col 57}{space 4}-.0344855{col 70}{space 3}-.0003904
{txt}{space 3}distance_km2 {c |}{col 17}{res}{space 2} .0000316{col 29}{space 2} .0000175{col 40}{space 1}    1.81{col 49}{space 3}0.071{col 57}{space 4}-2.69e-06{col 70}{space 3} .0000659
{txt}{space 3}Wdistance_km {c |}{col 17}{res}{space 2} .0227553{col 29}{space 2} .0113997{col 40}{space 1}    2.00{col 49}{space 3}0.046{col 57}{space 4} .0004123{col 70}{space 3} .0450983
{txt}{space 2}Wdistance_km2 {c |}{col 17}{res}{space 2}-.0000424{col 29}{space 2} .0000232{col 40}{space 1}   -1.83{col 49}{space 3}0.067{col 57}{space 4}-.0000877{col 70}{space 3} 3.03e-06
{txt}{space 6}lnstm_dis {c |}{col 17}{res}{space 2} .3665993{col 29}{space 2} .1156996{col 40}{space 1}    3.17{col 49}{space 3}0.002{col 57}{space 4} .1398322{col 70}{space 3} .5933664
{txt}{space 8}lncoast {c |}{col 17}{res}{space 2} .4623993{col 29}{space 2} .1045573{col 40}{space 1}    4.42{col 49}{space 3}0.000{col 57}{space 4} .2574707{col 70}{space 3} .6673279
{txt}pop2000_lecz_pc {c |}{col 17}{res}{space 2} -2.56163{col 29}{space 2} 1.286386{col 40}{space 1}   -1.99{col 49}{space 3}0.046{col 57}{space 4}  -5.0829{col 70}{space 3}-.0403593
{txt}{space 8}pacific {c |}{col 17}{res}{space 2} .3625147{col 29}{space 2} .2862143{col 40}{space 1}    1.27{col 49}{space 3}0.205{col 57}{space 4} -.198455{col 70}{space 3} .9234844
{txt}{space 6}ioc_mship {c |}{col 17}{res}{space 2} .7307829{col 29}{space 2} .8513356{col 40}{space 1}    0.86{col 49}{space 3}0.391{col 57}{space 4}-.9378041{col 70}{space 3}  2.39937
{txt}{space 3}dipl_rep_num {c |}{col 17}{res}{space 2}-.0038041{col 29}{space 2} .0055766{col 40}{space 1}   -0.68{col 49}{space 3}0.495{col 57}{space 4}-.0147339{col 70}{space 3} .0071258
{txt}{space 6}ship_cntc {c |}{col 17}{res}{space 2} .0212073{col 29}{space 2} .0082897{col 40}{space 1}    2.56{col 49}{space 3}0.011{col 57}{space 4} .0049599{col 70}{space 3} .0374547
{txt}{space 10}_cons {c |}{col 17}{res}{space 2}-4.909749{col 29}{space 2} 1.110934{col 40}{space 1}   -4.42{col 49}{space 3}0.000{col 57}{space 4} -7.08714{col 70}{space 3}-2.732358
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
       /lnalpha {c |}{col 17}{res}{space 2}-.2510181{col 29}{space 2} .2237612{col 57}{space 4}-.6895819{col 70}{space 3} .1875458
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}          alpha{col 17}{c |}{res}{space 2} .7780083{col 29}{space 2}  .174088{col 57}{space 4} .5017858{col 70}{space 3} 1.206285
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Likelihood-ratio test of alpha=0:  {help j_chibar##|_new:chibar2(01) =}{res}  264.62{txt} Prob>=chibar2 = {res}0.000
{txt}
{com}. estimates store m5, title(Model 5);
{txt}
{com}. /*p.29--Point estimates of the restriction on polynomial*/
> lincom distance_km +distance_km2;

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[stations]distance_km + [stations]distance_km2 = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    stations{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-.0174063{col 26}{space 2} .0086818{col 37}{space 1}   -2.00{col 46}{space 3}0.045{col 54}{space 4}-.0344223{col 67}{space 3}-.0003904
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. lincom distance_km +distance_km2+Wdistance_km +Wdistance_km2;

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[stations]distance_km + [stations]distance_km2 + [stations]Wdistance_km + [stations]Wdistance_km2 = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    stations{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} .0053066{col 26}{space 2} .0032587{col 37}{space 1}    1.63{col 46}{space 3}0.103{col 54}{space 4}-.0010803{col 67}{space 3} .0116936
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. /************************** Model 6: Storm deaths *********************/
> 
> #delimit;
{txt}delimiter now ;
{com}. nbreg stations W capital_sea_50p Wcapital_sea_50p 
> lncoast pop2000_lecz_pc pacific ioc_mship 
> dipl_rep_num ship_cntc lnstm_dead;

{txt}Fitting Poisson model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: -818.2885}  
Iteration 1:{space 3}log likelihood = {res:-679.28996}  
Iteration 2:{space 3}log likelihood = {res:-410.70969}  
Iteration 3:{space 3}log likelihood = {res:-402.36632}  
Iteration 4:{space 3}log likelihood = {res:-402.28744}  
Iteration 5:{space 3}log likelihood = {res:-402.28743}  
{res}
{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: -354.6089}  
Iteration 1:{space 3}log likelihood = {res:-291.95929}  
Iteration 2:{space 3}log likelihood = {res:-291.82723}  
Iteration 3:{space 3}log likelihood = {res:-291.82717}  
Iteration 4:{space 3}log likelihood = {res:-291.82717}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-276.19247}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-254.37243}  
Iteration 2:{space 3}log likelihood = {res: -226.3737}  
Iteration 3:{space 3}log likelihood = {res:-226.14252}  
Iteration 4:{space 3}log likelihood = {res:-226.14189}  
Iteration 5:{space 3}log likelihood = {res:-226.14189}  
{res}
{txt}Negative binomial regression                      Number of obs   =  {res}      116
                                                  {txt}LR chi2({res}10{txt})     =  {res}   131.37
{txt}Dispersion     = {res}mean                             {txt}Prob > chi2     =  {res}   0.0000
{txt}Log likelihood = {res}-226.14189                       {txt}Pseudo R2       =  {res}   0.2251

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        stations{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 15}W {c |}{col 18}{res}{space 2} 3.987643{col 30}{space 2} .8811328{col 41}{space 1}    4.53{col 50}{space 3}0.000{col 58}{space 4} 2.260655{col 71}{space 3} 5.714632
{txt}{space 1}capital_sea_50p {c |}{col 18}{res}{space 2} 2.192306{col 30}{space 2} .8343279{col 41}{space 1}    2.63{col 50}{space 3}0.009{col 58}{space 4} .5570536{col 71}{space 3} 3.827559
{txt}Wcapital_sea_50p {c |}{col 18}{res}{space 2}-2.903241{col 30}{space 2}  1.05421{col 41}{space 1}   -2.75{col 50}{space 3}0.006{col 58}{space 4}-4.969454{col 71}{space 3}-.8370276
{txt}{space 9}lncoast {c |}{col 18}{res}{space 2} .4674115{col 30}{space 2} .1068544{col 41}{space 1}    4.37{col 50}{space 3}0.000{col 58}{space 4} .2579807{col 71}{space 3} .6768423
{txt}{space 1}pop2000_lecz_pc {c |}{col 18}{res}{space 2}-2.055953{col 30}{space 2} 1.235684{col 41}{space 1}   -1.66{col 50}{space 3}0.096{col 58}{space 4}-4.477849{col 71}{space 3} .3659422
{txt}{space 9}pacific {c |}{col 18}{res}{space 2} .3911891{col 30}{space 2} .2912477{col 41}{space 1}    1.34{col 50}{space 3}0.179{col 58}{space 4} -.179646{col 71}{space 3} .9620242
{txt}{space 7}ioc_mship {c |}{col 18}{res}{space 2} .6701483{col 30}{space 2} .8518326{col 41}{space 1}    0.79{col 50}{space 3}0.431{col 58}{space 4}-.9994129{col 71}{space 3}  2.33971
{txt}{space 4}dipl_rep_num {c |}{col 18}{res}{space 2}-.0026208{col 30}{space 2}  .005589{col 41}{space 1}   -0.47{col 50}{space 3}0.639{col 58}{space 4}-.0135751{col 71}{space 3} .0083334
{txt}{space 7}ship_cntc {c |}{col 18}{res}{space 2}  .020265{col 30}{space 2} .0082279{col 41}{space 1}    2.46{col 50}{space 3}0.014{col 58}{space 4} .0041386{col 71}{space 3} .0363914
{txt}{space 6}lnstm_dead {c |}{col 18}{res}{space 2} .1344711{col 30}{space 2} .0453159{col 41}{space 1}    2.97{col 50}{space 3}0.003{col 58}{space 4} .0456537{col 71}{space 3} .2232886
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-7.104761{col 30}{space 2}  1.21455{col 41}{space 1}   -5.85{col 50}{space 3}0.000{col 58}{space 4}-9.485234{col 71}{space 3}-4.724287
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        /lnalpha {c |}{col 18}{res}{space 2}-.2503424{col 30}{space 2}  .222075{col 58}{space 4}-.6856013{col 71}{space 3} .1849166
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           alpha{col 18}{c |}{res}{space 2} .7785342{col 30}{space 2} .1728929{col 58}{space 4} .5037872{col 71}{space 3} 1.203118
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Likelihood-ratio test of alpha=0:  {help j_chibar##|_new:chibar2(01) =}{res}  352.29{txt} Prob>=chibar2 = {res}0.000
{txt}
{com}. estimates store m6, title(Model 6);
{txt}
{com}. /*p.28--Point estimates of the restriction (Sea Capital)+(W)(Sea Capital)*/
> lincom capital_sea_50p +Wcapital_sea_50p;

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[stations]capital_sea_50p + [stations]Wcapital_sea_50p = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    stations{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-.7109348{col 26}{space 2} .4130311{col 37}{space 1}   -1.72{col 46}{space 3}0.085{col 54}{space 4}-1.520461{col 67}{space 3} .0985912
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. /*p. 29--Predicted number of stations when capital_sea=0 moves to 
> capital_sea=1 and W=0*/
> #delimit;
{txt}delimiter now ;
{com}. margins, at((mean) _all capital_sea_50p =(0 1) W=0 Wcapital_sea_50p=0)  level (95);
{res}
{txt}Adjusted predictions{col 51}Number of obs{col 67}= {res}       116
{txt}Model VCE{col 14}: {res}OIM

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Predicted number of events, predict()}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:W}{space 15}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:capital_~50p}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:Wcapital~50p}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lncoast}{space 9}{txt:=} {space 3}7.191965 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pop2000_le~c}{space 4}{txt:=} {space 3}.1344542 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pacific}{space 9}{txt:=} {space 3}.2413793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ioc_mship}{space 7}{txt:=} {space 3}.9396552 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:dipl_rep_num}{space 4}{txt:=} {space 3}54.49138 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ship_cntc}{space 7}{txt:=} {space 3}23.24414 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lnstm_dead}{space 6}{txt:=} {space 5}4.0626 {txt:(mean)}}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:W}{space 15}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:capital_~50p}{space 4}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:Wcapital~50p}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lncoast}{space 9}{txt:=} {space 3}7.191965 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pop2000_le~c}{space 4}{txt:=} {space 3}.1344542 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pacific}{space 9}{txt:=} {space 3}.2413793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ioc_mship}{space 7}{txt:=} {space 3}.9396552 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:dipl_rep_num}{space 4}{txt:=} {space 3}54.49138 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ship_cntc}{space 7}{txt:=} {space 3}23.24414 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lnstm_dead}{space 6}{txt:=} {space 5}4.0626 {txt:(mean)}}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2} .0888398{col 26}{space 2} .0620888{col 37}{space 1}    1.43{col 46}{space 3}0.152{col 54}{space 4}-.0328519{col 67}{space 3} .2105316
{txt}{space 10}2  {c |}{col 14}{res}{space 2} .7956355{col 26}{space 2} .3896823{col 37}{space 1}    2.04{col 46}{space 3}0.041{col 54}{space 4} .0318722{col 67}{space 3} 1.559399
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. /*************** Model 7: Drop UK, Chile, France, and US *******************/
> 
> #delimit;
{txt}delimiter now ;
{com}. nbreg stations W capital_sea_50p Wcapital_sea_50p 
> lnstm_dis lncoast pop2000_lecz_pc pacific ioc_mship 
> dipl_rep_num ship_cntc if stations<=40;

{txt}Fitting Poisson model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-298.90896}  
Iteration 1:{space 3}log likelihood = {res:-286.46189}  
Iteration 2:{space 3}log likelihood = {res:-286.40889}  
Iteration 3:{space 3}log likelihood = {res:-286.40888}  
{res}
{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-267.97267}  
Iteration 1:{space 3}log likelihood = {res:-246.83721}  
Iteration 2:{space 3}log likelihood = {res:-246.82831}  
Iteration 3:{space 3}log likelihood = {res:-246.82831}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-227.69101}  
Iteration 1:{space 3}log likelihood = {res:-210.86152}  (backed up)
Iteration 2:{space 3}log likelihood = {res: -202.7868}  
Iteration 3:{space 3}log likelihood = {res:-197.93371}  
Iteration 4:{space 3}log likelihood = {res:-197.84021}  
Iteration 5:{space 3}log likelihood = {res:-197.83996}  
Iteration 6:{space 3}log likelihood = {res:-197.83996}  
{res}
{txt}Negative binomial regression                      Number of obs   =  {res}      112
                                                  {txt}LR chi2({res}10{txt})     =  {res}    97.98
{txt}Dispersion     = {res}mean                             {txt}Prob > chi2     =  {res}   0.0000
{txt}Log likelihood = {res}-197.83996                       {txt}Pseudo R2       =  {res}   0.1985

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        stations{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 15}W {c |}{col 18}{res}{space 2} 2.563842{col 30}{space 2} .8563912{col 41}{space 1}    2.99{col 50}{space 3}0.003{col 58}{space 4} .8853466{col 71}{space 3} 4.242338
{txt}{space 1}capital_sea_50p {c |}{col 18}{res}{space 2}  1.48667{col 30}{space 2} .7996877{col 41}{space 1}    1.86{col 50}{space 3}0.063{col 58}{space 4}-.0806888{col 71}{space 3} 3.054029
{txt}Wcapital_sea_50p {c |}{col 18}{res}{space 2}-1.782532{col 30}{space 2}  1.02938{col 41}{space 1}   -1.73{col 50}{space 3}0.083{col 58}{space 4}-3.800079{col 71}{space 3} .2350146
{txt}{space 7}lnstm_dis {c |}{col 18}{res}{space 2}  .315524{col 30}{space 2} .1099072{col 41}{space 1}    2.87{col 50}{space 3}0.004{col 58}{space 4} .1001099{col 71}{space 3} .5309381
{txt}{space 9}lncoast {c |}{col 18}{res}{space 2} .4628962{col 30}{space 2} .1036229{col 41}{space 1}    4.47{col 50}{space 3}0.000{col 58}{space 4} .2597991{col 71}{space 3} .6659933
{txt}{space 1}pop2000_lecz_pc {c |}{col 18}{res}{space 2}-2.036239{col 30}{space 2} 1.152157{col 41}{space 1}   -1.77{col 50}{space 3}0.077{col 58}{space 4}-4.294424{col 71}{space 3} .2219468
{txt}{space 9}pacific {c |}{col 18}{res}{space 2} .2716648{col 30}{space 2} .2797027{col 41}{space 1}    0.97{col 50}{space 3}0.331{col 58}{space 4}-.2765425{col 71}{space 3}  .819872
{txt}{space 7}ioc_mship {c |}{col 18}{res}{space 2} .7106671{col 30}{space 2} .8253682{col 41}{space 1}    0.86{col 50}{space 3}0.389{col 58}{space 4}-.9070248{col 71}{space 3} 2.328359
{txt}{space 4}dipl_rep_num {c |}{col 18}{res}{space 2}-.0057852{col 30}{space 2} .0055319{col 41}{space 1}   -1.05{col 50}{space 3}0.296{col 58}{space 4}-.0166275{col 71}{space 3}  .005057
{txt}{space 7}ship_cntc {c |}{col 18}{res}{space 2} .0206312{col 30}{space 2} .0074195{col 41}{space 1}    2.78{col 50}{space 3}0.005{col 58}{space 4} .0060893{col 71}{space 3} .0351732
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-6.039397{col 30}{space 2} 1.160626{col 41}{space 1}   -5.20{col 50}{space 3}0.000{col 58}{space 4}-8.314182{col 71}{space 3}-3.764612
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        /lnalpha {c |}{col 18}{res}{space 2}-.4113434{col 30}{space 2} .2459669{col 58}{space 4}-.8934297{col 71}{space 3} .0707428
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           alpha{col 18}{c |}{res}{space 2} .6627593{col 30}{space 2} .1630168{col 58}{space 4} .4092497{col 71}{space 3} 1.073305
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Likelihood-ratio test of alpha=0:  {help j_chibar##|_new:chibar2(01) =}{res}  177.14{txt} Prob>=chibar2 = {res}0.000
{txt}
{com}. estimates store m7, title(Model 7);
{txt}
{com}. /*p.28--Point estimates of the restriction (Sea Capital)+(W)(Sea Capital)*/
> lincom capital_sea_50p +Wcapital_sea_50p;

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[stations]capital_sea_50p + [stations]Wcapital_sea_50p = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    stations{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-.2958622{col 26}{space 2} .4051234{col 37}{space 1}   -0.73{col 46}{space 3}0.465{col 54}{space 4}-1.089889{col 67}{space 3}  .498165
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. /*p. 29--Predicted number of stations when capital_sea=0 moves to 
> capital_sea=1 and W=0*/
> #delimit;
{txt}delimiter now ;
{com}. margins, at((mean) _all capital_sea_50p =(0 1) W=0 Wcapital_sea_50p=0)  level (95);
{res}
{txt}Adjusted predictions{col 51}Number of obs{col 67}= {res}       112
{txt}Model VCE{col 14}: {res}OIM

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Predicted number of events, predict()}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:W}{space 15}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:capital_~50p}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:Wcapital~50p}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lnstm_dis}{space 7}{txt:=} {space 3}1.828073 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lncoast}{space 9}{txt:=} {space 4}7.12217 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pop2000_le~c}{space 4}{txt:=} {space 3}.1368673 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pacific}{space 9}{txt:=} {space 3}.2321429 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ioc_mship}{space 7}{txt:=} {space 6}.9375 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:dipl_rep_num}{space 4}{txt:=} {space 3}51.57143 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ship_cntc}{space 7}{txt:=} {space 3}21.81446 {txt:(mean)}}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:W}{space 15}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:capital_~50p}{space 4}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:Wcapital~50p}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lnstm_dis}{space 7}{txt:=} {space 3}1.828073 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lncoast}{space 9}{txt:=} {space 4}7.12217 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pop2000_le~c}{space 4}{txt:=} {space 3}.1368673 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pacific}{space 9}{txt:=} {space 3}.2321429 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ioc_mship}{space 7}{txt:=} {space 6}.9375 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:dipl_rep_num}{space 4}{txt:=} {space 3}51.57143 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ship_cntc}{space 7}{txt:=} {space 3}21.81446 {txt:(mean)}}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2} .2094137{col 26}{space 2}  .138503{col 37}{space 1}    1.51{col 46}{space 3}0.131{col 54}{space 4}-.0620473{col 67}{space 3} .4808746
{txt}{space 10}2  {c |}{col 14}{res}{space 2} .9260996{col 26}{space 2} .4187598{col 37}{space 1}    2.21{col 46}{space 3}0.027{col 54}{space 4} .1053454{col 67}{space 3} 1.746854
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. /*************** Model 8: Drop UK, France, and US *******************/
> 
> #delimit;
{txt}delimiter now ;
{com}. nbreg stations W capital_sea_50p Wcapital_sea_50p 
> lnstm_dis lncoast pop2000_lecz_pc pacific ioc_mship 
> dipl_rep_num ship_cntc if ccode!=2 & ccode!=200 & ccode!=220;

{txt}Fitting Poisson model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: -374.0238}  
Iteration 1:{space 3}log likelihood = {res:-352.53939}  
Iteration 2:{space 3}log likelihood = {res: -352.3268}  
Iteration 3:{space 3}log likelihood = {res:-352.32663}  
Iteration 4:{space 3}log likelihood = {res:-352.32663}  
{res}
{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-287.10403}  
Iteration 1:{space 3}log likelihood = {res:-257.82891}  
Iteration 2:{space 3}log likelihood = {res:-257.79724}  
Iteration 3:{space 3}log likelihood = {res:-257.79724}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-239.56686}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-223.17412}  
Iteration 2:{space 3}log likelihood = {res:-208.97023}  
Iteration 3:{space 3}log likelihood = {res: -206.5876}  
Iteration 4:{space 3}log likelihood = {res:-206.51268}  
Iteration 5:{space 3}log likelihood = {res:-206.51262}  
Iteration 6:{space 3}log likelihood = {res:-206.51262}  
{res}
{txt}Negative binomial regression                      Number of obs   =  {res}      113
                                                  {txt}LR chi2({res}10{txt})     =  {res}   102.57
{txt}Dispersion     = {res}mean                             {txt}Prob > chi2     =  {res}   0.0000
{txt}Log likelihood = {res}-206.51262                       {txt}Pseudo R2       =  {res}   0.1989

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        stations{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 15}W {c |}{col 18}{res}{space 2} 3.389364{col 30}{space 2} .8529009{col 41}{space 1}    3.97{col 50}{space 3}0.000{col 58}{space 4} 1.717709{col 71}{space 3} 5.061019
{txt}{space 1}capital_sea_50p {c |}{col 18}{res}{space 2}  1.99646{col 30}{space 2} .8186045{col 41}{space 1}    2.44{col 50}{space 3}0.015{col 58}{space 4} .3920247{col 71}{space 3} 3.600895
{txt}Wcapital_sea_50p {c |}{col 18}{res}{space 2}-2.657841{col 30}{space 2}  1.02838{col 41}{space 1}   -2.58{col 50}{space 3}0.010{col 58}{space 4}-4.673429{col 71}{space 3}-.6422535
{txt}{space 7}lnstm_dis {c |}{col 18}{res}{space 2} .3279161{col 30}{space 2} .1173326{col 41}{space 1}    2.79{col 50}{space 3}0.005{col 58}{space 4} .0979486{col 71}{space 3} .5578837
{txt}{space 9}lncoast {c |}{col 18}{res}{space 2}  .472735{col 30}{space 2} .1108008{col 41}{space 1}    4.27{col 50}{space 3}0.000{col 58}{space 4} .2555695{col 71}{space 3} .6899006
{txt}{space 1}pop2000_lecz_pc {c |}{col 18}{res}{space 2}-2.146237{col 30}{space 2} 1.220221{col 41}{space 1}   -1.76{col 50}{space 3}0.079{col 58}{space 4}-4.537827{col 71}{space 3} .2453535
{txt}{space 9}pacific {c |}{col 18}{res}{space 2} .4550983{col 30}{space 2} .2916768{col 41}{space 1}    1.56{col 50}{space 3}0.119{col 58}{space 4}-.1165777{col 71}{space 3} 1.026774
{txt}{space 7}ioc_mship {c |}{col 18}{res}{space 2} .7398509{col 30}{space 2} .8388558{col 41}{space 1}    0.88{col 50}{space 3}0.378{col 58}{space 4}-.9042762{col 71}{space 3} 2.383978
{txt}{space 4}dipl_rep_num {c |}{col 18}{res}{space 2} -.007542{col 30}{space 2} .0059033{col 41}{space 1}   -1.28{col 50}{space 3}0.201{col 58}{space 4}-.0191123{col 71}{space 3} .0040284
{txt}{space 7}ship_cntc {c |}{col 18}{res}{space 2} .0189778{col 30}{space 2} .0078634{col 41}{space 1}    2.41{col 50}{space 3}0.016{col 58}{space 4} .0035657{col 71}{space 3} .0343898
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-6.581416{col 30}{space 2} 1.203834{col 41}{space 1}   -5.47{col 50}{space 3}0.000{col 58}{space 4}-8.940887{col 71}{space 3}-4.221945
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        /lnalpha {c |}{col 18}{res}{space 2}-.2734903{col 30}{space 2} .2293933{col 58}{space 4}-.7230929{col 71}{space 3} .1761123
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           alpha{col 18}{c |}{res}{space 2} .7607197{col 30}{space 2}  .174504{col 58}{space 4} .4852491{col 71}{space 3} 1.192572
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Likelihood-ratio test of alpha=0:  {help j_chibar##|_new:chibar2(01) =}{res}  291.63{txt} Prob>=chibar2 = {res}0.000
{txt}
{com}. estimates store m8, title(Model 8);
{txt}
{com}. /*p.28--Point estimates of the restriction (Sea Capital)+(W)(Sea Capital)*/
> lincom capital_sea_50p +Wcapital_sea_50p;

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[stations]capital_sea_50p + [stations]Wcapital_sea_50p = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    stations{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-.6613812{col 26}{space 2} .4043778{col 37}{space 1}   -1.64{col 46}{space 3}0.102{col 54}{space 4}-1.453947{col 67}{space 3} .1311848
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. /*p. 29--Predicted number of stations when capital_sea=0 moves to 
> capital_sea=1 and W=0*/
> #delimit;
{txt}delimiter now ;
{com}. margins, at((mean) _all capital_sea_50p =(0 1) W=0 Wcapital_sea_50p=0)  level (95);
{res}
{txt}Adjusted predictions{col 51}Number of obs{col 67}= {res}       113
{txt}Model VCE{col 14}: {res}OIM

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Predicted number of events, predict()}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:W}{space 15}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:capital_~50p}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:Wcapital~50p}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lnstm_dis}{space 7}{txt:=} {space 4}1.83525 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lncoast}{space 9}{txt:=} {space 4}7.13675 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pop2000_le~c}{space 4}{txt:=} {space 4}.135852 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pacific}{space 9}{txt:=} {space 3}.2389381 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ioc_mship}{space 7}{txt:=} {space 3}.9380531 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:dipl_rep_num}{space 4}{txt:=} {space 3}51.65487 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ship_cntc}{space 7}{txt:=} {space 3}21.78814 {txt:(mean)}}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:W}{space 15}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:capital_~50p}{space 4}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:Wcapital~50p}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lnstm_dis}{space 7}{txt:=} {space 4}1.83525 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lncoast}{space 9}{txt:=} {space 4}7.13675 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pop2000_le~c}{space 4}{txt:=} {space 4}.135852 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pacific}{space 9}{txt:=} {space 3}.2389381 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ioc_mship}{space 7}{txt:=} {space 3}.9380531 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:dipl_rep_num}{space 4}{txt:=} {space 3}51.65487 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ship_cntc}{space 7}{txt:=} {space 3}21.78814 {txt:(mean)}}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2} .1260954{col 26}{space 2} .0851517{col 37}{space 1}    1.48{col 46}{space 3}0.139{col 54}{space 4}-.0407988{col 67}{space 3} .2929897
{txt}{space 10}2  {c |}{col 14}{res}{space 2} .9284339{col 26}{space 2}  .436948{col 37}{space 1}    2.12{col 46}{space 3}0.034{col 54}{space 4} .0720316{col 67}{space 3} 1.784836
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. /*************** Model 9: Drop US and Russia *******************/
> 
> #delimit;
{txt}delimiter now ;
{com}. nbreg stations W capital_sea_50p Wcapital_sea_50p 
> lnstm_dis lncoast pop2000_lecz_pc pacific ioc_mship 
> dipl_rep_num ship_cntc if ccode!=2 & ccode!=365;

{txt}Fitting Poisson model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-493.90098}  
Iteration 1:{space 3}log likelihood = {res:-390.31934}  
Iteration 2:{space 3}log likelihood = {res: -387.8424}  
Iteration 3:{space 3}log likelihood = {res:-387.83265}  
Iteration 4:{space 3}log likelihood = {res:-387.83265}  
{res}
{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-313.52602}  
Iteration 1:{space 3}log likelihood = {res:-271.40433}  
Iteration 2:{space 3}log likelihood = {res:-271.33113}  
Iteration 3:{space 3}log likelihood = {res:-271.33112}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-256.18251}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-237.61491}  
Iteration 2:{space 3}log likelihood = {res:-217.43745}  
Iteration 3:{space 3}log likelihood = {res:-214.64451}  
Iteration 4:{space 3}log likelihood = {res:-214.52523}  
Iteration 5:{space 3}log likelihood = {res:-214.52508}  
Iteration 6:{space 3}log likelihood = {res:-214.52508}  
{res}
{txt}Negative binomial regression                      Number of obs   =  {res}      114
                                                  {txt}LR chi2({res}10{txt})     =  {res}   113.61
{txt}Dispersion     = {res}mean                             {txt}Prob > chi2     =  {res}   0.0000
{txt}Log likelihood = {res}-214.52508                       {txt}Pseudo R2       =  {res}   0.2094

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        stations{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 15}W {c |}{col 18}{res}{space 2} 3.711987{col 30}{space 2}  .896007{col 41}{space 1}    4.14{col 50}{space 3}0.000{col 58}{space 4} 1.955845{col 71}{space 3} 5.468128
{txt}{space 1}capital_sea_50p {c |}{col 18}{res}{space 2} 2.260828{col 30}{space 2} .8370474{col 41}{space 1}    2.70{col 50}{space 3}0.007{col 58}{space 4} .6202453{col 71}{space 3} 3.901411
{txt}Wcapital_sea_50p {c |}{col 18}{res}{space 2}-2.948451{col 30}{space 2} 1.062803{col 41}{space 1}   -2.77{col 50}{space 3}0.006{col 58}{space 4}-5.031508{col 71}{space 3} -.865395
{txt}{space 7}lnstm_dis {c |}{col 18}{res}{space 2} .3785449{col 30}{space 2} .1193972{col 41}{space 1}    3.17{col 50}{space 3}0.002{col 58}{space 4} .1445307{col 71}{space 3} .6125592
{txt}{space 9}lncoast {c |}{col 18}{res}{space 2} .4494412{col 30}{space 2}  .110533{col 41}{space 1}    4.07{col 50}{space 3}0.000{col 58}{space 4} .2328005{col 71}{space 3}  .666082
{txt}{space 1}pop2000_lecz_pc {c |}{col 18}{res}{space 2}-2.305612{col 30}{space 2} 1.273519{col 41}{space 1}   -1.81{col 50}{space 3}0.070{col 58}{space 4}-4.801664{col 71}{space 3} .1904396
{txt}{space 9}pacific {c |}{col 18}{res}{space 2} .3551173{col 30}{space 2} .3074208{col 41}{space 1}    1.16{col 50}{space 3}0.248{col 58}{space 4}-.2474164{col 71}{space 3}  .957651
{txt}{space 7}ioc_mship {c |}{col 18}{res}{space 2} .6866871{col 30}{space 2} .8496337{col 41}{space 1}    0.81{col 50}{space 3}0.419{col 58}{space 4}-.9785643{col 71}{space 3} 2.351938
{txt}{space 4}dipl_rep_num {c |}{col 18}{res}{space 2}-.0066021{col 30}{space 2} .0064914{col 41}{space 1}   -1.02{col 50}{space 3}0.309{col 58}{space 4}-.0193249{col 71}{space 3} .0061208
{txt}{space 7}ship_cntc {c |}{col 18}{res}{space 2} .0228514{col 30}{space 2} .0087696{col 41}{space 1}    2.61{col 50}{space 3}0.009{col 58}{space 4} .0056633{col 71}{space 3} .0400395
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-6.805918{col 30}{space 2} 1.227378{col 41}{space 1}   -5.55{col 50}{space 3}0.000{col 58}{space 4}-9.211535{col 71}{space 3}-4.400302
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        /lnalpha {c |}{col 18}{res}{space 2}-.2202352{col 30}{space 2} .2204868{col 58}{space 4}-.6523813{col 71}{space 3}  .211911
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           alpha{col 18}{c |}{res}{space 2} .8023301{col 30}{space 2} .1769032{col 58}{space 4} .5208041{col 71}{space 3} 1.236038
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Likelihood-ratio test of alpha=0:  {help j_chibar##|_new:chibar2(01) =}{res}  346.62{txt} Prob>=chibar2 = {res}0.000
{txt}
{com}. estimates store m9, title(Model 9);
{txt}
{com}. /*p.28--Point estimates of the restriction (Sea Capital)+(W)(Sea Capital)*/
> lincom capital_sea_50p +Wcapital_sea_50p;

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[stations]capital_sea_50p + [stations]Wcapital_sea_50p = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    stations{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-.6876234{col 26}{space 2} .4209859{col 37}{space 1}   -1.63{col 46}{space 3}0.102{col 54}{space 4}-1.512741{col 67}{space 3} .1374937
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. /*p. 29--Predicted number of stations when capital_sea=0 moves to 
> capital_sea=1 and W=0*/
> #delimit;
{txt}delimiter now ;
{com}. margins, at((mean) _all capital_sea_50p =(0 1) W=0 Wcapital_sea_50p=0)  level (95);
{res}
{txt}Adjusted predictions{col 51}Number of obs{col 67}= {res}       114
{txt}Model VCE{col 14}: {res}OIM

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Predicted number of events, predict()}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:W}{space 15}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:capital_~50p}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:Wcapital~50p}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lnstm_dis}{space 7}{txt:=} {space 3}1.857317 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lncoast}{space 9}{txt:=} {space 3}7.138877 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pop2000_le~c}{space 4}{txt:=} {space 3}.1358903 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pacific}{space 9}{txt:=} {space 3}.2280702 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ioc_mship}{space 7}{txt:=} {space 3}.9385965 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:dipl_rep_num}{space 4}{txt:=} {space 3}52.70175 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ship_cntc}{space 7}{txt:=} {space 3}22.74781 {txt:(mean)}}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:W}{space 15}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:capital_~50p}{space 4}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:Wcapital~50p}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lnstm_dis}{space 7}{txt:=} {space 3}1.857317 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lncoast}{space 9}{txt:=} {space 3}7.138877 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pop2000_le~c}{space 4}{txt:=} {space 3}.1358903 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pacific}{space 9}{txt:=} {space 3}.2280702 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ioc_mship}{space 7}{txt:=} {space 3}.9385965 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:dipl_rep_num}{space 4}{txt:=} {space 3}52.70175 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ship_cntc}{space 7}{txt:=} {space 3}22.74781 {txt:(mean)}}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2} .0992362{col 26}{space 2} .0700285{col 37}{space 1}    1.42{col 46}{space 3}0.156{col 54}{space 4}-.0380172{col 67}{space 3} .2364895
{txt}{space 10}2  {c |}{col 14}{res}{space 2} .9517768{col 26}{space 2} .4600106{col 37}{space 1}    2.07{col 46}{space 3}0.039{col 54}{space 4} .0501726{col 67}{space 3} 1.853381
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. /*************** Model 10: Drop wealthy countries *******************/
> 
> #delimit;
{txt}delimiter now ;
{com}. sum ln_gdppc,detail;

                {txt}Natural log of GDP per capita
{hline 61}
      Percentiles      Smallest
 1%    {res} 5.512888       5.006607
{txt} 5%    {res} 5.895989       5.512888
{txt}10%    {res} 6.113966        5.58503       {txt}Obs         {res}        115
{txt}25%    {res} 6.993807       5.586991       {txt}Sum of Wgt. {res}        115

{txt}50%    {res} 7.935115                      {txt}Mean          {res} 8.019793
                        {txt}Largest       Std. Dev.     {res}   1.4157
{txt}75%    {res} 8.988751       10.46837
{txt}90%    {res} 10.15261        10.5091       {txt}Variance      {res} 2.004206
{txt}95%    {res} 10.32207       10.55014       {txt}Skewness      {res} .0543608
{txt}99%    {res} 10.55014       10.61979       {txt}Kurtosis      {res} 2.096573
{txt}
{com}. #delimit;
{txt}delimiter now ;
{com}. list ccode statenme if ln_gdppc>10.152615 & ln_gdppc!=.;
{txt}
     {c TLC}{hline 7}{c -}{hline 26}{c TRC}
     {c |} {res}ccode                   statenme {txt}{c |}
     {c LT}{hline 7}{c -}{hline 26}{c RT}
  1. {c |} {res}    2   United States of America {txt}{c |}
 31. {c |} {res}  200             United Kingdom {txt}{c |}
 32. {c |} {res}  205                    Ireland {txt}{c |}
 33. {c |} {res}  210                Netherlands {txt}{c |}
 56. {c |} {res}  375                    Finland {txt}{c |}
     {c LT}{hline 7}{c -}{hline 26}{c RT}
 57. {c |} {res}  380                     Sweden {txt}{c |}
 58. {c |} {res}  385                     Norway {txt}{c |}
 59. {c |} {res}  390                    Denmark {txt}{c |}
 60. {c |} {res}  395                    Iceland {txt}{c |}
115. {c |} {res}  740                      Japan {txt}{c |}
     {c LT}{hline 7}{c -}{hline 26}{c RT}
126. {c |} {res}  830                  Singapore {txt}{c |}
     {c BLC}{hline 7}{c -}{hline 26}{c BRC}

{com}. nbreg stations W capital_sea_50p Wcapital_sea_50p 
> lnstm_dis lncoast pop2000_lecz_pc pacific ioc_mship 
> dipl_rep_num ship_cntc if ln_gdppc<10.152615 & ln_gdppc!=.;

{txt}Fitting Poisson model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-362.86705}  
Iteration 1:{space 3}log likelihood = {res:-327.47821}  
Iteration 2:{space 3}log likelihood = {res:-327.14212}  
Iteration 3:{space 3}log likelihood = {res:-327.14197}  
Iteration 4:{space 3}log likelihood = {res:-327.14197}  
{res}
{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-258.91431}  
Iteration 1:{space 3}log likelihood = {res:-228.02911}  
Iteration 2:{space 3}log likelihood = {res:-228.00345}  
Iteration 3:{space 3}log likelihood = {res:-228.00345}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-213.35881}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-196.51963}  
Iteration 2:{space 3}log likelihood = {res: -176.9397}  
Iteration 3:{space 3}log likelihood = {res:-176.76867}  
Iteration 4:{space 3}log likelihood = {res:-176.76827}  
Iteration 5:{space 3}log likelihood = {res:-176.76827}  
{res}
{txt}Negative binomial regression                      Number of obs   =  {res}       94
                                                  {txt}LR chi2({res}10{txt})     =  {res}   102.47
{txt}Dispersion     = {res}mean                             {txt}Prob > chi2     =  {res}   0.0000
{txt}Log likelihood = {res}-176.76827                       {txt}Pseudo R2       =  {res}   0.2247

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        stations{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 15}W {c |}{col 18}{res}{space 2} 4.453997{col 30}{space 2} .9532632{col 41}{space 1}    4.67{col 50}{space 3}0.000{col 58}{space 4} 2.585636{col 71}{space 3} 6.322359
{txt}{space 1}capital_sea_50p {c |}{col 18}{res}{space 2} 1.776639{col 30}{space 2} .9828017{col 41}{space 1}    1.81{col 50}{space 3}0.071{col 58}{space 4}-.1496169{col 71}{space 3} 3.702895
{txt}Wcapital_sea_50p {c |}{col 18}{res}{space 2}-2.247078{col 30}{space 2} 1.272266{col 41}{space 1}   -1.77{col 50}{space 3}0.077{col 58}{space 4}-4.740674{col 71}{space 3} .2465178
{txt}{space 7}lnstm_dis {c |}{col 18}{res}{space 2} .3039141{col 30}{space 2} .1183146{col 41}{space 1}    2.57{col 50}{space 3}0.010{col 58}{space 4} .0720216{col 71}{space 3} .5358065
{txt}{space 9}lncoast {c |}{col 18}{res}{space 2} .3841683{col 30}{space 2} .1192018{col 41}{space 1}    3.22{col 50}{space 3}0.001{col 58}{space 4} .1505372{col 71}{space 3} .6177995
{txt}{space 1}pop2000_lecz_pc {c |}{col 18}{res}{space 2}-.4469159{col 30}{space 2} 1.488097{col 41}{space 1}   -0.30{col 50}{space 3}0.764{col 58}{space 4}-3.363531{col 71}{space 3}   2.4697
{txt}{space 9}pacific {c |}{col 18}{res}{space 2} .5916303{col 30}{space 2} .3288544{col 41}{space 1}    1.80{col 50}{space 3}0.072{col 58}{space 4}-.0529124{col 71}{space 3} 1.236173
{txt}{space 7}ioc_mship {c |}{col 18}{res}{space 2} .7403588{col 30}{space 2} .8373947{col 41}{space 1}    0.88{col 50}{space 3}0.377{col 58}{space 4}-.9009046{col 71}{space 3} 2.381622
{txt}{space 4}dipl_rep_num {c |}{col 18}{res}{space 2} .0031542{col 30}{space 2}   .00635{col 41}{space 1}    0.50{col 50}{space 3}0.619{col 58}{space 4}-.0092916{col 71}{space 3} .0155999
{txt}{space 7}ship_cntc {c |}{col 18}{res}{space 2}  .009911{col 30}{space 2} .0097795{col 41}{space 1}    1.01{col 50}{space 3}0.311{col 58}{space 4}-.0092564{col 71}{space 3} .0290784
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-7.291421{col 30}{space 2} 1.307358{col 41}{space 1}   -5.58{col 50}{space 3}0.000{col 58}{space 4}-9.853797{col 71}{space 3}-4.729046
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        /lnalpha {c |}{col 18}{res}{space 2}-.4443849{col 30}{space 2} .2473981{col 58}{space 4}-.9292763{col 71}{space 3} .0405064
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           alpha{col 18}{c |}{res}{space 2} .6412185{col 30}{space 2} .1586362{col 58}{space 4} .3948394{col 71}{space 3} 1.041338
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Likelihood-ratio test of alpha=0:  {help j_chibar##|_new:chibar2(01) =}{res}  300.75{txt} Prob>=chibar2 = {res}0.000
{txt}
{com}. estimates store m10, title(Model 10);
{txt}
{com}. /*p.28--Point estimates of the restriction (Sea Capital)+(W)(Sea Capital)*/
> lincom capital_sea_50p +Wcapital_sea_50p;

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[stations]capital_sea_50p + [stations]Wcapital_sea_50p = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    stations{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} -.470439{col 26}{space 2} .4803556{col 37}{space 1}   -0.98{col 46}{space 3}0.327{col 54}{space 4}-1.411919{col 67}{space 3} .4710406
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. /*p. 29--Predicted number of stations when capital_sea=0 moves to 
> capital_sea=1 and W=0*/
> #delimit;
{txt}delimiter now ;
{com}. margins, at((mean) _all capital_sea_50p =(0 1) W=0 Wcapital_sea_50p=0)  level (95);
{res}
{txt}Adjusted predictions{col 51}Number of obs{col 67}= {res}        94
{txt}Model VCE{col 14}: {res}OIM

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Predicted number of events, predict()}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:W}{space 15}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:capital_~50p}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:Wcapital~50p}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lnstm_dis}{space 7}{txt:=} {space 3}1.912944 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lncoast}{space 9}{txt:=} {space 3}7.140294 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pop2000_le~c}{space 4}{txt:=} {space 3}.1096734 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pacific}{space 9}{txt:=} {space 3}.2659574 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ioc_mship}{space 7}{txt:=} {space 3}.9361702 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:dipl_rep_num}{space 4}{txt:=} {space 3}53.40426 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ship_cntc}{space 7}{txt:=} {space 3}22.13351 {txt:(mean)}}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:W}{space 15}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:capital_~50p}{space 4}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:Wcapital~50p}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lnstm_dis}{space 7}{txt:=} {space 3}1.912944 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lncoast}{space 9}{txt:=} {space 3}7.140294 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pop2000_le~c}{space 4}{txt:=} {space 3}.1096734 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pacific}{space 9}{txt:=} {space 3}.2659574 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ioc_mship}{space 7}{txt:=} {space 3}.9361702 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:dipl_rep_num}{space 4}{txt:=} {space 3}53.40426 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ship_cntc}{space 7}{txt:=} {space 3}22.13351 {txt:(mean)}}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2} .0621796{col 26}{space 2} .0461618{col 37}{space 1}    1.35{col 46}{space 3}0.178{col 54}{space 4}-.0282959{col 67}{space 3}  .152655
{txt}{space 10}2  {c |}{col 14}{res}{space 2} .3674787{col 26}{space 2} .2567489{col 37}{space 1}    1.43{col 46}{space 3}0.152{col 54}{space 4}-.1357399{col 67}{space 3} .8706974
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. /*************** Model 11: Drop democracies *******************/
> 
> #delimit;
{txt}delimiter now ;
{com}. list ccode statenme if W==1 & W!=.;
{txt}
     {c TLC}{hline 7}{c -}{hline 26}{c TRC}
     {c |} {res}ccode                   statenme {txt}{c |}
     {c LT}{hline 7}{c -}{hline 26}{c RT}
  1. {c |} {res}    2   United States of America {txt}{c |}
  2. {c |} {res}   20                     Canada {txt}{c |}
  8. {c |} {res}   52        Trinidad and Tobago {txt}{c |}
 19. {c |} {res}   94                 Costa Rica {txt}{c |}
 20. {c |} {res}   95                     Panama {txt}{c |}
     {c LT}{hline 7}{c -}{hline 26}{c RT}
 28. {c |} {res}  155                      Chile {txt}{c |}
 30. {c |} {res}  165                    Uruguay {txt}{c |}
 31. {c |} {res}  200             United Kingdom {txt}{c |}
 32. {c |} {res}  205                    Ireland {txt}{c |}
 33. {c |} {res}  210                Netherlands {txt}{c |}
     {c LT}{hline 7}{c -}{hline 26}{c RT}
 35. {c |} {res}  220                     France {txt}{c |}
 36. {c |} {res}  230                      Spain {txt}{c |}
 37. {c |} {res}  235                   Portugal {txt}{c |}
 38. {c |} {res}  255                    Germany {txt}{c |}
 39. {c |} {res}  290                     Poland {txt}{c |}
     {c LT}{hline 7}{c -}{hline 26}{c RT}
 40. {c |} {res}  325                      Italy {txt}{c |}
 45. {c |} {res}  349                   Slovenia {txt}{c |}
 46. {c |} {res}  350                     Greece {txt}{c |}
 53. {c |} {res}  368                  Lithuania {txt}{c |}
 56. {c |} {res}  375                    Finland {txt}{c |}
     {c LT}{hline 7}{c -}{hline 26}{c RT}
 57. {c |} {res}  380                     Sweden {txt}{c |}
 58. {c |} {res}  385                     Norway {txt}{c |}
 59. {c |} {res}  390                    Denmark {txt}{c |}
 61. {c |} {res}  402                 Cape Verde {txt}{c |}
 90. {c |} {res}  590                  Mauritius {txt}{c |}
     {c LT}{hline 7}{c -}{hline 26}{c RT}
104. {c |} {res}  666                     Israel {txt}{c |}
113. {c |} {res}  713                     Taiwan {txt}{c |}
115. {c |} {res}  740                      Japan {txt}{c |}
131. {c |} {res}  900                  Australia {txt}{c |}
133. {c |} {res}  920                New Zealand {txt}{c |}
     {c BLC}{hline 7}{c -}{hline 26}{c BRC}

{com}. #delimit;
{txt}delimiter now ;
{com}. nbreg stations W capital_sea_50p Wcapital_sea_50p 
> lnstm_dis lncoast pop2000_lecz_pc pacific ioc_mship 
> dipl_rep_num ship_cntc if W<1;

{txt}Fitting Poisson model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-172.20111}  
Iteration 1:{space 3}log likelihood = {res:-152.23919}  
Iteration 2:{space 3}log likelihood = {res:-152.09941}  
Iteration 3:{space 3}log likelihood = {res:-152.09933}  
Iteration 4:{space 3}log likelihood = {res:-152.09933}  
{res}
{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-177.98975}  
Iteration 1:{space 3}log likelihood = {res:-166.64178}  
Iteration 2:{space 3}log likelihood = {res:-166.56219}  
Iteration 3:{space 3}log likelihood = {res:-166.56219}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-153.66822}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-141.28302}  
Iteration 2:{space 3}log likelihood = {res:-138.44457}  
Iteration 3:{space 3}log likelihood = {res:-135.55644}  
Iteration 4:{space 3}log likelihood = {res:-133.14425}  
Iteration 5:{space 3}log likelihood = {res:-131.52513}  
Iteration 6:{space 3}log likelihood = {res: -131.4489}  
Iteration 7:{space 3}log likelihood = {res:-131.44868}  
Iteration 8:{space 3}log likelihood = {res:-131.44868}  
{res}
{txt}Negative binomial regression                      Number of obs   =  {res}       88
                                                  {txt}LR chi2({res}10{txt})     =  {res}    70.23
{txt}Dispersion     = {res}mean                             {txt}Prob > chi2     =  {res}   0.0000
{txt}Log likelihood = {res}-131.44868                       {txt}Pseudo R2       =  {res}   0.2108

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        stations{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 15}W {c |}{col 18}{res}{space 2} 3.507903{col 30}{space 2} 1.381914{col 41}{space 1}    2.54{col 50}{space 3}0.011{col 58}{space 4}  .799401{col 71}{space 3} 6.216406
{txt}{space 1}capital_sea_50p {c |}{col 18}{res}{space 2} 2.327055{col 30}{space 2} 1.023115{col 41}{space 1}    2.27{col 50}{space 3}0.023{col 58}{space 4} .3217872{col 71}{space 3} 4.332323
{txt}Wcapital_sea_50p {c |}{col 18}{res}{space 2}-3.487894{col 30}{space 2} 1.527282{col 41}{space 1}   -2.28{col 50}{space 3}0.022{col 58}{space 4}-6.481311{col 71}{space 3}-.4944775
{txt}{space 7}lnstm_dis {c |}{col 18}{res}{space 2}  .271412{col 30}{space 2} .1141208{col 41}{space 1}    2.38{col 50}{space 3}0.017{col 58}{space 4} .0477394{col 71}{space 3} .4950847
{txt}{space 9}lncoast {c |}{col 18}{res}{space 2} .5645955{col 30}{space 2} .1315891{col 41}{space 1}    4.29{col 50}{space 3}0.000{col 58}{space 4} .3066856{col 71}{space 3} .8225054
{txt}{space 1}pop2000_lecz_pc {c |}{col 18}{res}{space 2}-.7670256{col 30}{space 2} 1.281275{col 41}{space 1}   -0.60{col 50}{space 3}0.549{col 58}{space 4}-3.278278{col 71}{space 3} 1.744227
{txt}{space 9}pacific {c |}{col 18}{res}{space 2} .4184846{col 30}{space 2}  .319576{col 41}{space 1}    1.31{col 50}{space 3}0.190{col 58}{space 4}-.2078728{col 71}{space 3} 1.044842
{txt}{space 7}ioc_mship {c |}{col 18}{res}{space 2} .3012134{col 30}{space 2} .8303288{col 41}{space 1}    0.36{col 50}{space 3}0.717{col 58}{space 4}-1.326201{col 71}{space 3} 1.928628
{txt}{space 4}dipl_rep_num {c |}{col 18}{res}{space 2} -.006313{col 30}{space 2} .0061679{col 41}{space 1}   -1.02{col 50}{space 3}0.306{col 58}{space 4}-.0184018{col 71}{space 3} .0057759
{txt}{space 7}ship_cntc {c |}{col 18}{res}{space 2} .0167845{col 30}{space 2} .0088289{col 41}{space 1}    1.90{col 50}{space 3}0.057{col 58}{space 4}-.0005198{col 71}{space 3} .0340888
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-6.979823{col 30}{space 2} 1.505184{col 41}{space 1}   -4.64{col 50}{space 3}0.000{col 58}{space 4} -9.92993{col 71}{space 3}-4.029717
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        /lnalpha {c |}{col 18}{res}{space 2}-.5806166{col 30}{space 2} .3366538{col 58}{space 4}-1.240446{col 71}{space 3} .0792127
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           alpha{col 18}{c |}{res}{space 2} .5595532{col 30}{space 2} .1883757{col 58}{space 4} .2892552{col 71}{space 3} 1.082435
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Likelihood-ratio test of alpha=0:  {help j_chibar##|_new:chibar2(01) =}{res}   41.30{txt} Prob>=chibar2 = {res}0.000
{txt}
{com}. estimates store m11, title(Model 11);
{txt}
{com}. /*p.28--Point estimates of the restriction (Sea Capital)+(W)(Sea Capital)*/
> lincom capital_sea_50p +.75*Wcapital_sea_50p;

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[stations]capital_sea_50p + .75{res}*{res}[stations]Wcapital_sea_50p = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    stations{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2}-.2888658{col 26}{space 2} .3667282{col 37}{space 1}   -0.79{col 46}{space 3}0.431{col 54}{space 4} -1.00764{col 67}{space 3} .4299082
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. /*p. 29--Predicted number of stations when capital_sea=0 moves to 
> capital_sea=1 and W=0*/
> #delimit;
{txt}delimiter now ;
{com}. margins, at((mean) _all capital_sea_50p =(0 1) W=0 Wcapital_sea_50p=0)  level (95);
{res}
{txt}Adjusted predictions{col 51}Number of obs{col 67}= {res}        88
{txt}Model VCE{col 14}: {res}OIM

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Predicted number of events, predict()}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:W}{space 15}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:capital_~50p}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:Wcapital~50p}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lnstm_dis}{space 7}{txt:=} {space 3}1.687386 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lncoast}{space 9}{txt:=} {space 3}6.973895 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pop2000_le~c}{space 4}{txt:=} {space 3}.1415896 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pacific}{space 9}{txt:=} {space 3}.2272727 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ioc_mship}{space 7}{txt:=} {space 3}.9318182 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:dipl_rep_num}{space 4}{txt:=} {space 3}48.38636 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ship_cntc}{space 7}{txt:=} {space 3}19.84807 {txt:(mean)}}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:W}{space 15}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:capital_~50p}{space 4}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:Wcapital~50p}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lnstm_dis}{space 7}{txt:=} {space 3}1.687386 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:lncoast}{space 9}{txt:=} {space 3}6.973895 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pop2000_le~c}{space 4}{txt:=} {space 3}.1415896 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:pacific}{space 9}{txt:=} {space 3}.2272727 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ioc_mship}{space 7}{txt:=} {space 3}.9318182 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:dipl_rep_num}{space 4}{txt:=} {space 3}48.38636 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:ship_cntc}{space 7}{txt:=} {space 3}19.84807 {txt:(mean)}}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2} .1013117{col 26}{space 2} .0951058{col 37}{space 1}    1.07{col 46}{space 3}0.287{col 54}{space 4}-.0850924{col 67}{space 3} .2877157
{txt}{space 10}2  {c |}{col 14}{res}{space 2} 1.038213{col 26}{space 2} .5046778{col 37}{space 1}    2.06{col 46}{space 3}0.040{col 54}{space 4}  .049063{col 67}{space 3} 2.027364
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. /********************************************************************/
> /********************************************************************/
> /***************** Appendix 4: Table  ********************/
> /********************************************************************/
> /********************************************************************/
> 
> #delimit;
{txt}delimiter now ;
{com}. estout m3r m5 m6 m7 m8 m9 m10 m11, cells(b(star fmt(%9.3f)) se(par fmt(%9.2f))) ///
>         starlevels(* 0.10 ** 0.05 *** 0.01)  ///
>         legend  ///
>         varlabels(W W ln_distance_km ln(Capital Distance) capital_sea_50p 
>         CapitalSea CapitalDistance pop2000_lecz_pc LECZPopulationPc
>         lnstm_dis NumberStorms lncoast LengthCoast 
>         pacific Pacific ioc_mship IOCMembership
>         dipl_rep_num DiplomaticRepresentation
>     ln_gdppc ln(GDPpc) ln_pop ln(Population) fdi_pcgdp FDI
>         ship_cntc Shipping lnstm_dead ln(Deaths) Wlnstm_dead (W)ln(Deaths)
>         _cons Intercept)        ///
>         stats(N ll , fmt(%9.4f) label(N LogLikelihood )) ///
>         style(tex) ;

{res}            &         m3r   &          m5   &          m6   &          m7   &          m8   &          m9   &         m10   &         m11   \\
            &        b/se   &        b/se   &        b/se   &        b/se   &        b/se   &        b/se   &        b/se   &        b/se   \\
stations    &               &               &               &               &               &               &               &               \\
W           &       4.087***&       1.071*  &       3.988***&       2.564***&       3.389***&       3.712***&       4.454***&       3.508** \\
            &      (0.99)   &      (0.59)   &      (0.88)   &      (0.86)   &      (0.85)   &      (0.90)   &      (0.95)   &      (1.38)   \\
capital_sea_50p&       1.787*  &               &       2.192***&       1.487*  &       1.996** &       2.261***&       1.777*  &       2.327** \\
            &      (1.00)   &               &      (0.83)   &      (0.80)   &      (0.82)   &      (0.84)   &      (0.98)   &      (1.02)   \\
Wcapital_sea_50p&      -2.153*  &               &      -2.903***&      -1.783*  &      -2.658***&      -2.948***&      -2.247*  &      -3.488** \\
            &      (1.22)   &               &      (1.05)   &      (1.03)   &      (1.03)   &      (1.06)   &      (1.27)   &      (1.53)   \\
NumberStorms&       0.327***&       0.367***&               &       0.316***&       0.328***&       0.379***&       0.304** &       0.271** \\
            &      (0.11)   &      (0.12)   &               &      (0.11)   &      (0.12)   &      (0.12)   &      (0.12)   &      (0.11)   \\
LengthCoast &       0.389***&       0.462***&       0.467***&       0.463***&       0.473***&       0.449***&       0.384***&       0.565***\\
            &      (0.11)   &      (0.10)   &      (0.11)   &      (0.10)   &      (0.11)   &      (0.11)   &      (0.12)   &      (0.13)   \\
LECZPopulationPc&      -1.988   &      -2.562** &      -2.056*  &      -2.036*  &      -2.146*  &      -2.306*  &      -0.447   &      -0.767   \\
            &      (1.27)   &      (1.29)   &      (1.24)   &      (1.15)   &      (1.22)   &      (1.27)   &      (1.49)   &      (1.28)   \\
Pacific     &       0.594** &       0.363   &       0.391   &       0.272   &       0.455   &       0.355   &       0.592*  &       0.418   \\
            &      (0.28)   &      (0.29)   &      (0.29)   &      (0.28)   &      (0.29)   &      (0.31)   &      (0.33)   &      (0.32)   \\
IOCMembership&       0.773   &       0.731   &       0.670   &       0.711   &       0.740   &       0.687   &       0.740   &       0.301   \\
            &      (0.87)   &      (0.85)   &      (0.85)   &      (0.83)   &      (0.84)   &      (0.85)   &      (0.84)   &      (0.83)   \\
DiplomaticRepresentation&       0.003   &      -0.004   &      -0.003   &      -0.006   &      -0.008   &      -0.007   &       0.003   &      -0.006   \\
            &      (0.01)   &      (0.01)   &      (0.01)   &      (0.01)   &      (0.01)   &      (0.01)   &      (0.01)   &      (0.01)   \\
Shipping    &       0.011   &       0.021** &       0.020** &       0.021***&       0.019** &       0.023***&       0.010   &       0.017*  \\
            &      (0.01)   &      (0.01)   &      (0.01)   &      (0.01)   &      (0.01)   &      (0.01)   &      (0.01)   &      (0.01)   \\
ln(GDPpc)   &      -0.026   &               &               &               &               &               &               &               \\
            &      (0.15)   &               &               &               &               &               &               &               \\
ln(Population)&       0.020   &               &               &               &               &               &               &               \\
            &      (0.16)   &               &               &               &               &               &               &               \\
FDI         &       0.009   &               &               &               &               &               &               &               \\
            &      (0.03)   &               &               &               &               &               &               &               \\
distance_km &               &      -0.017** &               &               &               &               &               &               \\
            &               &      (0.01)   &               &               &               &               &               &               \\
distance_km2&               &       0.000*  &               &               &               &               &               &               \\
            &               &      (0.00)   &               &               &               &               &               &               \\
Wdistance_km&               &       0.023** &               &               &               &               &               &               \\
            &               &      (0.01)   &               &               &               &               &               &               \\
Wdistance_km2&               &      -0.000*  &               &               &               &               &               &               \\
            &               &      (0.00)   &               &               &               &               &               &               \\
ln(Deaths)  &               &               &       0.134***&               &               &               &               &               \\
            &               &               &      (0.05)   &               &               &               &               &               \\
Intercept   &      -7.202** &      -4.910***&      -7.105***&      -6.039***&      -6.581***&      -6.806***&      -7.291***&      -6.980***\\
            &      (3.47)   &      (1.11)   &      (1.21)   &      (1.16)   &      (1.20)   &      (1.23)   &      (1.31)   &      (1.51)   \\
lnalpha     &               &               &               &               &               &               &               &               \\
Intercept   &      -0.470** &      -0.251   &      -0.250   &      -0.411*  &      -0.273   &      -0.220   &      -0.444*  &      -0.581*  \\
            &      (0.23)   &      (0.22)   &      (0.22)   &      (0.25)   &      (0.23)   &      (0.22)   &      (0.25)   &      (0.34)   \\
N           &    102.0000   &    116.0000   &    116.0000   &    112.0000   &    113.0000   &    114.0000   &     94.0000   &     88.0000   \\
LogLikelihood&   -203.0373   &   -226.5477   &   -226.1419   &   -197.8400   &   -206.5126   &   -214.5251   &   -176.7683   &   -131.4487   \\
* p<0.10, ** p<0.05, *** p<0.01
{txt}
{com}. /********************************************************************/
> /********************************************************************/
> /************************ Footnote 16 *********************************/
> /********************************************************************/
> /********************************************************************/
> 
> /*Footnote 16: Model 3--LR tests for economics covariates*/
> 
> /*Model 3 in paper*/
> #delimit;
{txt}delimiter now ;
{com}. nbreg stations W capital_sea_50p Wcapital_sea_50p 
> lnstm_dis lncoast pop2000_lecz_pc pacific ioc_mship 
> dipl_rep_num ship_cntc;

{txt}Fitting Poisson model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-959.73204}  
Iteration 1:{space 3}log likelihood = {res:-545.19337}  
Iteration 2:{space 3}log likelihood = {res:-414.94029}  
Iteration 3:{space 3}log likelihood = {res:-404.35332}  
Iteration 4:{space 3}log likelihood = {res:-404.34094}  
Iteration 5:{space 3}log likelihood = {res:-404.34094}  
{res}
{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: -354.6089}  
Iteration 1:{space 3}log likelihood = {res:-291.95929}  
Iteration 2:{space 3}log likelihood = {res:-291.82723}  
Iteration 3:{space 3}log likelihood = {res:-291.82717}  
Iteration 4:{space 3}log likelihood = {res:-291.82717}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: -275.3958}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-252.92212}  
Iteration 2:{space 3}log likelihood = {res:-225.44923}  
Iteration 3:{space 3}log likelihood = {res:-225.11182}  
Iteration 4:{space 3}log likelihood = {res:-225.11065}  
Iteration 5:{space 3}log likelihood = {res:-225.11065}  
{res}
{txt}Negative binomial regression                      Number of obs   =  {res}      116
                                                  {txt}LR chi2({res}10{txt})     =  {res}   133.43
{txt}Dispersion     = {res}mean                             {txt}Prob > chi2     =  {res}   0.0000
{txt}Log likelihood = {res}-225.11065                       {txt}Pseudo R2       =  {res}   0.2286

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        stations{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 15}W {c |}{col 18}{res}{space 2} 3.626739{col 30}{space 2} .8715435{col 41}{space 1}    4.16{col 50}{space 3}0.000{col 58}{space 4} 1.918545{col 71}{space 3} 5.334932
{txt}{space 1}capital_sea_50p {c |}{col 18}{res}{space 2}  2.25597{col 30}{space 2} .8235712{col 41}{space 1}    2.74{col 50}{space 3}0.006{col 58}{space 4} .6418001{col 71}{space 3}  3.87014
{txt}Wcapital_sea_50p {c |}{col 18}{res}{space 2} -2.89691{col 30}{space 2} 1.043988{col 41}{space 1}   -2.77{col 50}{space 3}0.006{col 58}{space 4}-4.943089{col 71}{space 3}-.8507309
{txt}{space 7}lnstm_dis {c |}{col 18}{res}{space 2} .3709206{col 30}{space 2} .1130546{col 41}{space 1}    3.28{col 50}{space 3}0.001{col 58}{space 4} .1493377{col 71}{space 3} .5925035
{txt}{space 9}lncoast {c |}{col 18}{res}{space 2} .4477917{col 30}{space 2} .1073384{col 41}{space 1}    4.17{col 50}{space 3}0.000{col 58}{space 4} .2374124{col 71}{space 3}  .658171
{txt}{space 1}pop2000_lecz_pc {c |}{col 18}{res}{space 2}-2.379517{col 30}{space 2} 1.249091{col 41}{space 1}   -1.90{col 50}{space 3}0.057{col 58}{space 4}-4.827692{col 71}{space 3}  .068657
{txt}{space 9}pacific {c |}{col 18}{res}{space 2} .4093276{col 30}{space 2} .2871352{col 41}{space 1}    1.43{col 50}{space 3}0.154{col 58}{space 4}-.1534469{col 71}{space 3} .9721022
{txt}{space 7}ioc_mship {c |}{col 18}{res}{space 2} .6953392{col 30}{space 2} .8442372{col 41}{space 1}    0.82{col 50}{space 3}0.410{col 58}{space 4}-.9593353{col 71}{space 3} 2.350014
{txt}{space 4}dipl_rep_num {c |}{col 18}{res}{space 2}-.0044894{col 30}{space 2}  .005682{col 41}{space 1}   -0.79{col 50}{space 3}0.429{col 58}{space 4} -.015626{col 71}{space 3} .0066472
{txt}{space 7}ship_cntc {c |}{col 18}{res}{space 2} .0206176{col 30}{space 2}  .008036{col 41}{space 1}    2.57{col 50}{space 3}0.010{col 58}{space 4} .0048674{col 71}{space 3} .0363678
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-6.796482{col 30}{space 2} 1.215476{col 41}{space 1}   -5.59{col 50}{space 3}0.000{col 58}{space 4}-9.178771{col 71}{space 3}-4.414193
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        /lnalpha {c |}{col 18}{res}{space 2}-.2642494{col 30}{space 2} .2192078{col 58}{space 4}-.6938889{col 71}{space 3}   .16539
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           alpha{col 18}{c |}{res}{space 2}  .767782{col 30}{space 2} .1683038{col 58}{space 4} .4996293{col 71}{space 3} 1.179853
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Likelihood-ratio test of alpha=0:  {help j_chibar##|_new:chibar2(01) =}{res}  358.46{txt} Prob>=chibar2 = {res}0.000
{txt}
{com}. /*estimates store m3, title(Model 3);*/
> 
> /*Model 3 with covariates--unrestricted*/
> #delimit;
{txt}delimiter now ;
{com}. nbreg stations W capital_sea_50p Wcapital_sea_50p 
> lnstm_dis lncoast pop2000_lecz_pc pacific ioc_mship dipl_rep_num
> ln_gdppc ln_pop fdi_pcgdp ship_cntc;

{txt}Fitting Poisson model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-1050.2957}  
Iteration 1:{space 3}log likelihood = {res:-820.28627}  
Iteration 2:{space 3}log likelihood = {res:-398.53171}  
Iteration 3:{space 3}log likelihood = {res:-343.54953}  
Iteration 4:{space 3}log likelihood = {res:-340.90955}  
Iteration 5:{space 3}log likelihood = {res:-340.89477}  
Iteration 6:{space 3}log likelihood = {res:-340.89477}  
{res}
{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-320.22786}  
Iteration 1:{space 3}log likelihood = {res:-268.13546}  
Iteration 2:{space 3}log likelihood = {res:-268.01771}  
Iteration 3:{space 3}log likelihood = {res:-268.01766}  
Iteration 4:{space 3}log likelihood = {res:-268.01766}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: -254.5221}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-230.21989}  
Iteration 2:{space 3}log likelihood = {res:-204.89582}  
Iteration 3:{space 3}log likelihood = {res:-203.10397}  
Iteration 4:{space 3}log likelihood = {res: -203.0374}  
Iteration 5:{space 3}log likelihood = {res:-203.03728}  
Iteration 6:{space 3}log likelihood = {res:-203.03728}  
{res}
{txt}Negative binomial regression                      Number of obs   =  {res}      102
                                                  {txt}LR chi2({res}13{txt})     =  {res}   129.96
{txt}Dispersion     = {res}mean                             {txt}Prob > chi2     =  {res}   0.0000
{txt}Log likelihood = {res}-203.03728                       {txt}Pseudo R2       =  {res}   0.2424

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        stations{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 15}W {c |}{col 18}{res}{space 2} 4.086628{col 30}{space 2} .9926792{col 41}{space 1}    4.12{col 50}{space 3}0.000{col 58}{space 4} 2.141012{col 71}{space 3} 6.032243
{txt}{space 1}capital_sea_50p {c |}{col 18}{res}{space 2} 1.787484{col 30}{space 2}  .998213{col 41}{space 1}    1.79{col 50}{space 3}0.073{col 58}{space 4}-.1689771{col 71}{space 3} 3.743946
{txt}Wcapital_sea_50p {c |}{col 18}{res}{space 2}-2.152802{col 30}{space 2} 1.223759{col 41}{space 1}   -1.76{col 50}{space 3}0.079{col 58}{space 4}-4.551325{col 71}{space 3} .2457215
{txt}{space 7}lnstm_dis {c |}{col 18}{res}{space 2} .3266305{col 30}{space 2} .1147803{col 41}{space 1}    2.85{col 50}{space 3}0.004{col 58}{space 4} .1016653{col 71}{space 3} .5515957
{txt}{space 9}lncoast {c |}{col 18}{res}{space 2}  .388997{col 30}{space 2}  .110769{col 41}{space 1}    3.51{col 50}{space 3}0.000{col 58}{space 4} .1718937{col 71}{space 3} .6061002
{txt}{space 1}pop2000_lecz_pc {c |}{col 18}{res}{space 2}-1.987973{col 30}{space 2} 1.270506{col 41}{space 1}   -1.56{col 50}{space 3}0.118{col 58}{space 4}-4.478118{col 71}{space 3} .5021725
{txt}{space 9}pacific {c |}{col 18}{res}{space 2} .5940567{col 30}{space 2}  .282352{col 41}{space 1}    2.10{col 50}{space 3}0.035{col 58}{space 4} .0406569{col 71}{space 3} 1.147456
{txt}{space 7}ioc_mship {c |}{col 18}{res}{space 2} .7732758{col 30}{space 2} .8686429{col 41}{space 1}    0.89{col 50}{space 3}0.373{col 58}{space 4}-.9292331{col 71}{space 3} 2.475785
{txt}{space 4}dipl_rep_num {c |}{col 18}{res}{space 2} .0030773{col 30}{space 2} .0070811{col 41}{space 1}    0.43{col 50}{space 3}0.664{col 58}{space 4}-.0108014{col 71}{space 3} .0169559
{txt}{space 8}ln_gdppc {c |}{col 18}{res}{space 2}-.0260559{col 30}{space 2} .1541419{col 41}{space 1}   -0.17{col 50}{space 3}0.866{col 58}{space 4}-.3281684{col 71}{space 3} .2760566
{txt}{space 10}ln_pop {c |}{col 18}{res}{space 2} .0198867{col 30}{space 2} .1628643{col 41}{space 1}    0.12{col 50}{space 3}0.903{col 58}{space 4}-.2993215{col 71}{space 3} .3390949
{txt}{space 7}fdi_pcgdp {c |}{col 18}{res}{space 2} .0086979{col 30}{space 2} .0315103{col 41}{space 1}    0.28{col 50}{space 3}0.783{col 58}{space 4}-.0530611{col 71}{space 3} .0704569
{txt}{space 7}ship_cntc {c |}{col 18}{res}{space 2} .0105298{col 30}{space 2} .0083724{col 41}{space 1}    1.26{col 50}{space 3}0.209{col 58}{space 4}-.0058798{col 71}{space 3} .0269394
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-7.201507{col 30}{space 2} 3.472949{col 41}{space 1}   -2.07{col 50}{space 3}0.038{col 58}{space 4}-14.00836{col 71}{space 3}-.3946508
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        /lnalpha {c |}{col 18}{res}{space 2} -.469831{col 30}{space 2} .2348644{col 58}{space 4}-.9301567{col 71}{space 3}-.0095053
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           alpha{col 18}{c |}{res}{space 2} .6251079{col 30}{space 2} .1468156{col 58}{space 4} .3944919{col 71}{space 3} .9905397
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Likelihood-ratio test of alpha=0:  {help j_chibar##|_new:chibar2(01) =}{res}  275.71{txt} Prob>=chibar2 = {res}0.000
{txt}
{com}. estimates store e3u, title(Model 1);
{txt}
{com}. gen sample= e(sample);
{txt}
{com}. test ln_gdppc ln_pop fdi_pcgdp ship_cntc;

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[stations]ln_gdppc = 0{p_end}
{p 0 7}{space 1}{text:( 2)}{space 1} [stations]ln_pop = 0{p_end}
{p 0 7}{space 1}{text:( 3)}{space 1} [stations]fdi_pcgdp = 0{p_end}
{p 0 7}{space 1}{text:( 4)}{space 1} [stations]ship_cntc = 0{p_end}

{txt}{col 12}chi2(  4) ={res}    1.68
{txt}{col 10}Prob > chi2 =  {res}  0.7945
{txt}
{com}. /*Model 3 without covariates--restricted*/
> #delimit;
{txt}delimiter now ;
{com}. nbreg stations W capital_sea_50p Wcapital_sea_50p 
> lnstm_dis lncoast pop2000_lecz_pc pacific ioc_mship dipl_rep_num if sample==1;

{txt}Fitting Poisson model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-958.71583}  
Iteration 1:{space 3}log likelihood = {res:-529.87879}  
Iteration 2:{space 3}log likelihood = {res:-386.98622}  
Iteration 3:{space 3}log likelihood = {res:-375.34684}  
Iteration 4:{space 3}log likelihood = {res:-375.33339}  
Iteration 5:{space 3}log likelihood = {res:-375.33339}  
{res}
{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-320.22786}  
Iteration 1:{space 3}log likelihood = {res:-268.13546}  
Iteration 2:{space 3}log likelihood = {res:-268.01771}  
Iteration 3:{space 3}log likelihood = {res:-268.01766}  
Iteration 4:{space 3}log likelihood = {res:-268.01766}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-251.83274}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-228.28782}  
Iteration 2:{space 3}log likelihood = {res:-204.31249}  
Iteration 3:{space 3}log likelihood = {res: -203.8884}  
Iteration 4:{space 3}log likelihood = {res:-203.88616}  
Iteration 5:{space 3}log likelihood = {res:-203.88616}  
{res}
{txt}Negative binomial regression                      Number of obs   =  {res}      102
                                                  {txt}LR chi2({res}9{txt})      =  {res}   128.26
{txt}Dispersion     = {res}mean                             {txt}Prob > chi2     =  {res}   0.0000
{txt}Log likelihood = {res}-203.88616                       {txt}Pseudo R2       =  {res}   0.2393

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        stations{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 15}W {c |}{col 18}{res}{space 2} 4.107647{col 30}{space 2} .8503938{col 41}{space 1}    4.83{col 50}{space 3}0.000{col 58}{space 4} 2.440905{col 71}{space 3} 5.774388
{txt}{space 1}capital_sea_50p {c |}{col 18}{res}{space 2} 1.835042{col 30}{space 2} .9467122{col 41}{space 1}    1.94{col 50}{space 3}0.053{col 58}{space 4}-.0204802{col 71}{space 3} 3.690564
{txt}Wcapital_sea_50p {c |}{col 18}{res}{space 2}-2.179244{col 30}{space 2} 1.183262{col 41}{space 1}   -1.84{col 50}{space 3}0.066{col 58}{space 4}-4.498394{col 71}{space 3} .1399056
{txt}{space 7}lnstm_dis {c |}{col 18}{res}{space 2} .3316282{col 30}{space 2}  .111454{col 41}{space 1}    2.98{col 50}{space 3}0.003{col 58}{space 4} .1131824{col 71}{space 3}  .550074
{txt}{space 9}lncoast {c |}{col 18}{res}{space 2} .3619433{col 30}{space 2}   .10302{col 41}{space 1}    3.51{col 50}{space 3}0.000{col 58}{space 4} .1600279{col 71}{space 3} .5638587
{txt}{space 1}pop2000_lecz_pc {c |}{col 18}{res}{space 2}-1.542428{col 30}{space 2} 1.197515{col 41}{space 1}   -1.29{col 50}{space 3}0.198{col 58}{space 4}-3.889514{col 71}{space 3} .8046575
{txt}{space 9}pacific {c |}{col 18}{res}{space 2} .6459516{col 30}{space 2} .2804487{col 41}{space 1}    2.30{col 50}{space 3}0.021{col 58}{space 4} .0962822{col 71}{space 3} 1.195621
{txt}{space 7}ioc_mship {c |}{col 18}{res}{space 2} .7803401{col 30}{space 2} .8339004{col 41}{space 1}    0.94{col 50}{space 3}0.349{col 58}{space 4}-.8540746{col 71}{space 3} 2.414755
{txt}{space 4}dipl_rep_num {c |}{col 18}{res}{space 2} .0083554{col 30}{space 2} .0042797{col 41}{space 1}    1.95{col 50}{space 3}0.051{col 58}{space 4}-.0000327{col 71}{space 3} .0167434
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-6.988447{col 30}{space 2}  1.18899{col 41}{space 1}   -5.88{col 50}{space 3}0.000{col 58}{space 4}-9.318825{col 71}{space 3}-4.658069
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        /lnalpha {c |}{col 18}{res}{space 2}-.4530765{col 30}{space 2}  .233561{col 58}{space 4}-.9108476{col 71}{space 3} .0046946
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           alpha{col 18}{c |}{res}{space 2} .6356695{col 30}{space 2} .1484676{col 58}{space 4} .4021832{col 71}{space 3} 1.004706
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Likelihood-ratio test of alpha=0:  {help j_chibar##|_new:chibar2(01) =}{res}  342.89{txt} Prob>=chibar2 = {res}0.000
{txt}
{com}. estimates store e3r, title(Model 1);
{txt}
{com}. lrtest e3r e3u;

{txt}Likelihood-ratio test{col 55}LR chi2({res}4{txt}){col 67}={res}      1.70
{txt}(Assumption: {res}{stata est replay e3r:e3r}{txt} nested in {res}{stata est replay e3u:e3u}{txt}){col 55}Prob > chi2 = {res}   0.7911
{txt}
{com}. drop sample;
{txt}
{com}. /*Models are nested--economic covariates are not needed*/
> 
> /*Shipping connectivity is significant*/
> #delimit;
{txt}delimiter now ;
{com}. nbreg stations W capital_sea_50p Wcapital_sea_50p pop2000_lecz_pc lnstm_dis 
> lncoast pacific ioc_mship dipl_rep_num
> ln_gdppc ;

{txt}Fitting Poisson model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-939.52182}  
Iteration 1:{space 3}log likelihood = {res:-529.06886}  
Iteration 2:{space 3}log likelihood = {res:-387.57578}  
Iteration 3:{space 3}log likelihood = {res:-374.77374}  
Iteration 4:{space 3}log likelihood = {res:-374.76281}  
Iteration 5:{space 3}log likelihood = {res:-374.76281}  
{res}
{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-326.62456}  
Iteration 1:{space 3}log likelihood = {res:-273.83397}  
Iteration 2:{space 3}log likelihood = {res:-273.70791}  
Iteration 3:{space 3}log likelihood = {res:-273.70785}  
Iteration 4:{space 3}log likelihood = {res:-273.70785}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-258.65446}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-234.14627}  
Iteration 2:{space 3}log likelihood = {res:-209.12038}  
Iteration 3:{space 3}log likelihood = {res:-208.70327}  
Iteration 4:{space 3}log likelihood = {res:-208.70014}  
Iteration 5:{space 3}log likelihood = {res:-208.70014}  
{res}
{txt}Negative binomial regression                      Number of obs   =  {res}      104
                                                  {txt}LR chi2({res}10{txt})     =  {res}   130.02
{txt}Dispersion     = {res}mean                             {txt}Prob > chi2     =  {res}   0.0000
{txt}Log likelihood = {res}-208.70014                       {txt}Pseudo R2       =  {res}   0.2375

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        stations{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 15}W {c |}{col 18}{res}{space 2} 4.091768{col 30}{space 2}  .973045{col 41}{space 1}    4.21{col 50}{space 3}0.000{col 58}{space 4} 2.184635{col 71}{space 3} 5.998901
{txt}{space 1}capital_sea_50p {c |}{col 18}{res}{space 2} 1.697787{col 30}{space 2} .9518999{col 41}{space 1}    1.78{col 50}{space 3}0.074{col 58}{space 4}-.1679027{col 71}{space 3} 3.563476
{txt}Wcapital_sea_50p {c |}{col 18}{res}{space 2}-1.969429{col 30}{space 2} 1.188372{col 41}{space 1}   -1.66{col 50}{space 3}0.097{col 58}{space 4}-4.298595{col 71}{space 3}  .359737
{txt}{space 1}pop2000_lecz_pc {c |}{col 18}{res}{space 2}-1.628415{col 30}{space 2} 1.205446{col 41}{space 1}   -1.35{col 50}{space 3}0.177{col 58}{space 4}-3.991046{col 71}{space 3}  .734217
{txt}{space 7}lnstm_dis {c |}{col 18}{res}{space 2} .3203859{col 30}{space 2}   .11091{col 41}{space 1}    2.89{col 50}{space 3}0.004{col 58}{space 4} .1030062{col 71}{space 3} .5377655
{txt}{space 9}lncoast {c |}{col 18}{res}{space 2}  .348573{col 30}{space 2} .1025661{col 41}{space 1}    3.40{col 50}{space 3}0.001{col 58}{space 4} .1475471{col 71}{space 3} .5495989
{txt}{space 9}pacific {c |}{col 18}{res}{space 2} .6416106{col 30}{space 2} .2801276{col 41}{space 1}    2.29{col 50}{space 3}0.022{col 58}{space 4} .0925706{col 71}{space 3} 1.190651
{txt}{space 7}ioc_mship {c |}{col 18}{res}{space 2} .8286083{col 30}{space 2} .8501479{col 41}{space 1}    0.97{col 50}{space 3}0.330{col 58}{space 4} -.837651{col 71}{space 3} 2.494868
{txt}{space 4}dipl_rep_num {c |}{col 18}{res}{space 2} .0093306{col 30}{space 2} .0044808{col 41}{space 1}    2.08{col 50}{space 3}0.037{col 58}{space 4} .0005484{col 71}{space 3} .0181128
{txt}{space 8}ln_gdppc {c |}{col 18}{res}{space 2}-.0322265{col 30}{space 2} .1163849{col 41}{space 1}   -0.28{col 50}{space 3}0.782{col 58}{space 4}-.2603368{col 71}{space 3} .1958838
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-6.702957{col 30}{space 2} 1.235419{col 41}{space 1}   -5.43{col 50}{space 3}0.000{col 58}{space 4}-9.124333{col 71}{space 3}-4.281581
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        /lnalpha {c |}{col 18}{res}{space 2}-.4331809{col 30}{space 2}  .229014{col 58}{space 4}  -.88204{col 71}{space 3} .0156782
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           alpha{col 18}{c |}{res}{space 2} .6484432{col 30}{space 2} .1485025{col 58}{space 4} .4139376{col 71}{space 3} 1.015802
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Likelihood-ratio test of alpha=0:  {help j_chibar##|_new:chibar2(01) =}{res}  332.13{txt} Prob>=chibar2 = {res}0.000
{txt}
{com}. estimates store e3r1, title(Model 1);
{txt}
{com}. #delimit;
{txt}delimiter now ;
{com}. nbreg stations W capital_sea_50p Wcapital_sea_50p pop2000_lecz_pc lnstm_dis 
> lncoast pacific ioc_mship dipl_rep_num
> ln_pop ;

{txt}Fitting Poisson model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-1050.9596}  
Iteration 1:{space 3}log likelihood = {res:-566.17624}  
Iteration 2:{space 3}log likelihood = {res:-418.91652}  
Iteration 3:{space 3}log likelihood = {res:-409.79916}  
Iteration 4:{space 3}log likelihood = {res:-409.78322}  
Iteration 5:{space 3}log likelihood = {res:-409.78322}  
{res}
{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: -354.6089}  
Iteration 1:{space 3}log likelihood = {res:-291.95929}  
Iteration 2:{space 3}log likelihood = {res:-291.82723}  
Iteration 3:{space 3}log likelihood = {res:-291.82717}  
Iteration 4:{space 3}log likelihood = {res:-291.82717}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-276.20555}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-255.66083}  
Iteration 2:{space 3}log likelihood = {res:-248.90324}  
Iteration 3:{space 3}log likelihood = {res: -239.6355}  
Iteration 4:{space 3}log likelihood = {res:-228.59046}  
Iteration 5:{space 3}log likelihood = {res:-228.29971}  
Iteration 6:{space 3}log likelihood = {res:-228.29868}  
Iteration 7:{space 3}log likelihood = {res:-228.29868}  
{res}
{txt}Negative binomial regression                      Number of obs   =  {res}      116
                                                  {txt}LR chi2({res}10{txt})     =  {res}   127.06
{txt}Dispersion     = {res}mean                             {txt}Prob > chi2     =  {res}   0.0000
{txt}Log likelihood = {res}-228.29868                       {txt}Pseudo R2       =  {res}   0.2177

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        stations{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 15}W {c |}{col 18}{res}{space 2} 3.708951{col 30}{space 2} .9572341{col 41}{space 1}    3.87{col 50}{space 3}0.000{col 58}{space 4} 1.832807{col 71}{space 3} 5.585096
{txt}{space 1}capital_sea_50p {c |}{col 18}{res}{space 2} 2.459095{col 30}{space 2} .8602165{col 41}{space 1}    2.86{col 50}{space 3}0.004{col 58}{space 4} .7731019{col 71}{space 3} 4.145088
{txt}Wcapital_sea_50p {c |}{col 18}{res}{space 2}-3.096016{col 30}{space 2} 1.090136{col 41}{space 1}   -2.84{col 50}{space 3}0.005{col 58}{space 4}-5.232643{col 71}{space 3}-.9593898
{txt}{space 1}pop2000_lecz_pc {c |}{col 18}{res}{space 2}-1.687365{col 30}{space 2} 1.187616{col 41}{space 1}   -1.42{col 50}{space 3}0.155{col 58}{space 4} -4.01505{col 71}{space 3} .6403194
{txt}{space 7}lnstm_dis {c |}{col 18}{res}{space 2} .3886802{col 30}{space 2} .1172003{col 41}{space 1}    3.32{col 50}{space 3}0.001{col 58}{space 4} .1589719{col 71}{space 3} .6183886
{txt}{space 9}lncoast {c |}{col 18}{res}{space 2} .4205361{col 30}{space 2}  .113175{col 41}{space 1}    3.72{col 50}{space 3}0.000{col 58}{space 4} .1987172{col 71}{space 3}  .642355
{txt}{space 9}pacific {c |}{col 18}{res}{space 2} .4578268{col 30}{space 2} .2940964{col 41}{space 1}    1.56{col 50}{space 3}0.120{col 58}{space 4}-.1185916{col 71}{space 3} 1.034245
{txt}{space 7}ioc_mship {c |}{col 18}{res}{space 2}  .870274{col 30}{space 2} .8465675{col 41}{space 1}    1.03{col 50}{space 3}0.304{col 58}{space 4}-.7889678{col 71}{space 3} 2.529516
{txt}{space 4}dipl_rep_num {c |}{col 18}{res}{space 2} .0071101{col 30}{space 2} .0051624{col 41}{space 1}    1.38{col 50}{space 3}0.168{col 58}{space 4}-.0030079{col 71}{space 3} .0172281
{txt}{space 10}ln_pop {c |}{col 18}{res}{space 2}-.0782588{col 30}{space 2}  .117146{col 41}{space 1}   -0.67{col 50}{space 3}0.504{col 58}{space 4}-.3078607{col 71}{space 3} .1513431
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-5.820159{col 30}{space 2} 2.286228{col 41}{space 1}   -2.55{col 50}{space 3}0.011{col 58}{space 4}-10.30108{col 71}{space 3}-1.339235
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        /lnalpha {c |}{col 18}{res}{space 2}-.1934515{col 30}{space 2} .2187882{col 58}{space 4}-.6222685{col 71}{space 3} .2353655
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           alpha{col 18}{c |}{res}{space 2} .8241098{col 30}{space 2} .1803055{col 58}{space 4} .5367255{col 71}{space 3} 1.265371
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Likelihood-ratio test of alpha=0:  {help j_chibar##|_new:chibar2(01) =}{res}  362.97{txt} Prob>=chibar2 = {res}0.000
{txt}
{com}. estimates store e3r2, title(Model 1);
{txt}
{com}. #delimit;
{txt}delimiter now ;
{com}. nbreg stations W capital_sea_50p Wcapital_sea_50p pop2000_lecz_pc lnstm_dis 
> lncoast pacific ioc_mship dipl_rep_num
> fdi_pcgdp ;

{txt}Fitting Poisson model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-985.37589}  
Iteration 1:{space 3}log likelihood = {res:-557.71454}  
Iteration 2:{space 3}log likelihood = {res:-386.81715}  
Iteration 3:{space 3}log likelihood = {res:-372.56391}  
Iteration 4:{space 3}log likelihood = {res:-372.55258}  
Iteration 5:{space 3}log likelihood = {res:-372.55258}  
{res}
{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-324.60501}  
Iteration 1:{space 3}log likelihood = {res:-269.87247}  
Iteration 2:{space 3}log likelihood = {res:-269.76444}  
Iteration 3:{space 3}log likelihood = {res:-269.76439}  
Iteration 4:{space 3}log likelihood = {res:-269.76439}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-253.11822}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-228.42165}  
Iteration 2:{space 3}log likelihood = {res:-205.22745}  
Iteration 3:{space 3}log likelihood = {res:-204.52927}  
Iteration 4:{space 3}log likelihood = {res:-204.52455}  
Iteration 5:{space 3}log likelihood = {res:-204.52455}  
{res}
{txt}Negative binomial regression                      Number of obs   =  {res}      104
                                                  {txt}LR chi2({res}10{txt})     =  {res}   130.48
{txt}Dispersion     = {res}mean                             {txt}Prob > chi2     =  {res}   0.0000
{txt}Log likelihood = {res}-204.52455                       {txt}Pseudo R2       =  {res}   0.2418

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        stations{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 15}W {c |}{col 18}{res}{space 2} 4.101833{col 30}{space 2} .8506256{col 41}{space 1}    4.82{col 50}{space 3}0.000{col 58}{space 4} 2.434637{col 71}{space 3} 5.769028
{txt}{space 1}capital_sea_50p {c |}{col 18}{res}{space 2} 1.751632{col 30}{space 2} .9441507{col 41}{space 1}    1.86{col 50}{space 3}0.064{col 58}{space 4}-.0988694{col 71}{space 3} 3.602133
{txt}Wcapital_sea_50p {c |}{col 18}{res}{space 2}-2.101152{col 30}{space 2} 1.180641{col 41}{space 1}   -1.78{col 50}{space 3}0.075{col 58}{space 4}-4.415167{col 71}{space 3} .2128622
{txt}{space 1}pop2000_lecz_pc {c |}{col 18}{res}{space 2}-1.544417{col 30}{space 2} 1.196652{col 41}{space 1}   -1.29{col 50}{space 3}0.197{col 58}{space 4}-3.889811{col 71}{space 3} .8009772
{txt}{space 7}lnstm_dis {c |}{col 18}{res}{space 2} .3357444{col 30}{space 2} .1116883{col 41}{space 1}    3.01{col 50}{space 3}0.003{col 58}{space 4} .1168393{col 71}{space 3} .5546495
{txt}{space 9}lncoast {c |}{col 18}{res}{space 2} .3683834{col 30}{space 2} .1033948{col 41}{space 1}    3.56{col 50}{space 3}0.000{col 58}{space 4} .1657334{col 71}{space 3} .5710335
{txt}{space 9}pacific {c |}{col 18}{res}{space 2} .6424595{col 30}{space 2} .2827237{col 41}{space 1}    2.27{col 50}{space 3}0.023{col 58}{space 4} .0883313{col 71}{space 3} 1.196588
{txt}{space 7}ioc_mship {c |}{col 18}{res}{space 2} .7841758{col 30}{space 2} .8476055{col 41}{space 1}    0.93{col 50}{space 3}0.355{col 58}{space 4}-.8771004{col 71}{space 3} 2.445452
{txt}{space 4}dipl_rep_num {c |}{col 18}{res}{space 2}   .00845{col 30}{space 2} .0043333{col 41}{space 1}    1.95{col 50}{space 3}0.051{col 58}{space 4}-.0000431{col 71}{space 3} .0169431
{txt}{space 7}fdi_pcgdp {c |}{col 18}{res}{space 2} .0068365{col 30}{space 2} .0293233{col 41}{space 1}    0.23{col 50}{space 3}0.816{col 58}{space 4}-.0506361{col 71}{space 3} .0643092
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-7.076623{col 30}{space 2} 1.241926{col 41}{space 1}   -5.70{col 50}{space 3}0.000{col 58}{space 4}-9.510753{col 71}{space 3}-4.642493
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        /lnalpha {c |}{col 18}{res}{space 2}-.4485719{col 30}{space 2} .2339359{col 58}{space 4}-.9070778{col 71}{space 3}  .009934
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           alpha{col 18}{c |}{res}{space 2} .6385394{col 30}{space 2} .1493773{col 58}{space 4} .4037022{col 71}{space 3} 1.009983
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Likelihood-ratio test of alpha=0:  {help j_chibar##|_new:chibar2(01) =}{res}  336.06{txt} Prob>=chibar2 = {res}0.000
{txt}
{com}. estimates store e3r3, title(Model 1);
{txt}
{com}. #delimit;
{txt}delimiter now ;
{com}. nbreg stations W capital_sea_50p Wcapital_sea_50p pop2000_lecz_pc lnstm_dis 
> lncoast pacific ioc_mship dipl_rep_num
> ship_cntc ;

{txt}Fitting Poisson model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-959.73204}  
Iteration 1:{space 3}log likelihood = {res:-545.19337}  
Iteration 2:{space 3}log likelihood = {res:-414.94029}  
Iteration 3:{space 3}log likelihood = {res:-404.35332}  
Iteration 4:{space 3}log likelihood = {res:-404.34094}  
Iteration 5:{space 3}log likelihood = {res:-404.34094}  
{res}
{txt}Fitting constant-only model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: -354.6089}  
Iteration 1:{space 3}log likelihood = {res:-291.95929}  
Iteration 2:{space 3}log likelihood = {res:-291.82723}  
Iteration 3:{space 3}log likelihood = {res:-291.82717}  
Iteration 4:{space 3}log likelihood = {res:-291.82717}  
{res}
{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: -275.3958}  (not concave)
Iteration 1:{space 3}log likelihood = {res:-252.92212}  
Iteration 2:{space 3}log likelihood = {res:-225.44923}  
Iteration 3:{space 3}log likelihood = {res:-225.11182}  
Iteration 4:{space 3}log likelihood = {res:-225.11065}  
Iteration 5:{space 3}log likelihood = {res:-225.11065}  
{res}
{txt}Negative binomial regression                      Number of obs   =  {res}      116
                                                  {txt}LR chi2({res}10{txt})     =  {res}   133.43
{txt}Dispersion     = {res}mean                             {txt}Prob > chi2     =  {res}   0.0000
{txt}Log likelihood = {res}-225.11065                       {txt}Pseudo R2       =  {res}   0.2286

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        stations{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 15}W {c |}{col 18}{res}{space 2} 3.626739{col 30}{space 2} .8715435{col 41}{space 1}    4.16{col 50}{space 3}0.000{col 58}{space 4} 1.918545{col 71}{space 3} 5.334932
{txt}{space 1}capital_sea_50p {c |}{col 18}{res}{space 2}  2.25597{col 30}{space 2} .8235712{col 41}{space 1}    2.74{col 50}{space 3}0.006{col 58}{space 4} .6418001{col 71}{space 3}  3.87014
{txt}Wcapital_sea_50p {c |}{col 18}{res}{space 2} -2.89691{col 30}{space 2} 1.043988{col 41}{space 1}   -2.77{col 50}{space 3}0.006{col 58}{space 4}-4.943089{col 71}{space 3}-.8507309
{txt}{space 1}pop2000_lecz_pc {c |}{col 18}{res}{space 2}-2.379517{col 30}{space 2} 1.249091{col 41}{space 1}   -1.90{col 50}{space 3}0.057{col 58}{space 4}-4.827692{col 71}{space 3}  .068657
{txt}{space 7}lnstm_dis {c |}{col 18}{res}{space 2} .3709206{col 30}{space 2} .1130546{col 41}{space 1}    3.28{col 50}{space 3}0.001{col 58}{space 4} .1493377{col 71}{space 3} .5925035
{txt}{space 9}lncoast {c |}{col 18}{res}{space 2} .4477917{col 30}{space 2} .1073384{col 41}{space 1}    4.17{col 50}{space 3}0.000{col 58}{space 4} .2374124{col 71}{space 3}  .658171
{txt}{space 9}pacific {c |}{col 18}{res}{space 2} .4093276{col 30}{space 2} .2871352{col 41}{space 1}    1.43{col 50}{space 3}0.154{col 58}{space 4}-.1534469{col 71}{space 3} .9721022
{txt}{space 7}ioc_mship {c |}{col 18}{res}{space 2} .6953392{col 30}{space 2} .8442372{col 41}{space 1}    0.82{col 50}{space 3}0.410{col 58}{space 4}-.9593353{col 71}{space 3} 2.350014
{txt}{space 4}dipl_rep_num {c |}{col 18}{res}{space 2}-.0044894{col 30}{space 2}  .005682{col 41}{space 1}   -0.79{col 50}{space 3}0.429{col 58}{space 4} -.015626{col 71}{space 3} .0066472
{txt}{space 7}ship_cntc {c |}{col 18}{res}{space 2} .0206176{col 30}{space 2}  .008036{col 41}{space 1}    2.57{col 50}{space 3}0.010{col 58}{space 4} .0048674{col 71}{space 3} .0363678
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-6.796482{col 30}{space 2} 1.215476{col 41}{space 1}   -5.59{col 50}{space 3}0.000{col 58}{space 4}-9.178771{col 71}{space 3}-4.414193
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        /lnalpha {c |}{col 18}{res}{space 2}-.2642494{col 30}{space 2} .2192078{col 58}{space 4}-.6938889{col 71}{space 3}   .16539
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           alpha{col 18}{c |}{res}{space 2}  .767782{col 30}{space 2} .1683038{col 58}{space 4} .4996293{col 71}{space 3} 1.179853
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Likelihood-ratio test of alpha=0:  {help j_chibar##|_new:chibar2(01) =}{res}  358.46{txt} Prob>=chibar2 = {res}0.000
{txt}
{com}. estimates store e3r4, title(Model 1);
{txt}
{com}. log close;
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}/Users/alejandro/Dropbox/Papers Essex/Selectorate/Protecting_People_DataAnalysis_Log_PSRM.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}21 Oct 2015, 18:36:35
{txt}{.-}
{smcl}
{txt}{sf}{ul off}